Index: projects/doctools/cddl/usr.bin/doctools/tbl/Makefile =================================================================== --- projects/doctools/cddl/usr.bin/doctools/tbl/Makefile (revision 306930) +++ projects/doctools/cddl/usr.bin/doctools/tbl/Makefile (revision 306931) @@ -1,28 +1,32 @@ PROG= tbl SRCS= t0.c \ t1.c \ t2.c \ t3.c \ t4.c \ t5.c \ t6.c \ t7.c \ t8.c \ t9.c \ tb.c \ tc.c \ te.c \ tf.c \ tg.c \ ti.c \ tm.c \ ts.c \ tt.c \ tu.c \ tv.c +.if defined(WORLDTMP) +CFLAGS+= -DMACDIR='"${WORLDTMP}/legacy/${MACDIR}"' +.else CFLAGS+= -DMACDIR='"${MACDIR}"' +.endif .include .PATH: ${DOCTOOLSDIR}/tbl