Module Name: src
Committed By: mrg
Date: Fri May 31 05:42:14 UTC 2013
Modified Files:
src/external/mit/xorg/bin/mkfontdir: Makefile
Log Message:
mkfontdir was renamed to a .in using @bindir, instead of CPP. deal.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/mkfontdir/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/bin/mkfontdir/Makefile
diff -u src/external/mit/xorg/bin/mkfontdir/Makefile:1.2 src/external/mit/xorg/bin/mkfontdir/Makefile:1.3
--- src/external/mit/xorg/bin/mkfontdir/Makefile:1.2 Fri May 31 05:24:49 2013
+++ src/external/mit/xorg/bin/mkfontdir/Makefile Fri May 31 05:42:14 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2013/05/31 05:24:49 mrg Exp $
+# $NetBSD: Makefile,v 1.3 2013/05/31 05:42:14 mrg Exp $
.include <bsd.own.mk>
@@ -7,9 +7,10 @@
MAN= mkfontdir.1
-CPPSCRIPTS= mkfontdir
-CPPSCRIPTFLAGS= -DBINDIR=${X11BINDIR}
SCRIPTS= mkfontdir
+mkfontdir: mkfontdir.in
+ ${TOOL_SED} -e "s#@bindir@#${X11BINDIR}#" < ${.ALLSRC} > ${.TARGET}
+
.include <bsd.x11.mk>
.include <bsd.prog.mk>