summaryrefslogtreecommitdiff
path: root/fonts/mkfontscale/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2002-07-17 18:13:48 +0000
committerwiz <wiz>2002-07-17 18:13:48 +0000
commit74eab108ab3d5b591bf2f9e9cad30309fb00dc5d (patch)
tree12eb474bf4d83b8089d8fe253660c55b9b506093 /fonts/mkfontscale/Makefile
parent837fbc9a2ffeb38fb39b3e98e4c16c4c6aab20c6 (diff)
downloadpkgsrc-74eab108ab3d5b591bf2f9e9cad30309fb00dc5d.tar.gz
Add a message that this package needs fontenc.h.
Diffstat (limited to 'fonts/mkfontscale/Makefile')
-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"