summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-17 18:13:48 +0000
committerwiz <wiz@pkgsrc.org>2002-07-17 18:13:48 +0000
commitb0e0a9b696b542c002b5e3ece82c64a09e990db5 (patch)
tree12eb474bf4d83b8089d8fe253660c55b9b506093
parent25b679d7ae3dbf5c13ef71d5c603b3c6bf22eb9f (diff)
downloadpkgsrc-b0e0a9b696b542c002b5e3ece82c64a09e990db5.tar.gz
Add a message that this package needs fontenc.h.
-rw-r--r--fonts/mkfontscale/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/fonts/mkfontscale/Makefile b/fonts/mkfontscale/Makefile
index 9cc1bdbbfae..768b4b62a6b 100644
--- a/fonts/mkfontscale/Makefile
+++ b/fonts/mkfontscale/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/05/31 15:33:07 uebayasi Exp $
+# $NetBSD: Makefile,v 1.3 2002/07/17 18:13:48 wiz Exp $
#
DISTNAME= mkfontscale-20020524
@@ -13,4 +13,11 @@ USE_IMAKE= yes
WRKSRC= ${WRKDIR}/mkfontscale
+.include "../../mk/bsd.prefs.mk"
+
+.if !exists(${X11BASE}/include/X11/fonts/fontenc.h)
+IGNORE= "Needs the fontenc.h header file, which comes with newer XFree versions."
+.endif
+
+.include "../../graphics/freetype2/buildlink.mk"
.include "../../mk/bsd.pkg.mk"