summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjlam <jlam>2001-04-19 19:11:59 +0000
committerjlam <jlam>2001-04-19 19:11:59 +0000
commit5681b7b411f0f8867a7121712e1c93dc5d504b6c (patch)
tree9f2eb9be1665a2910c5f838d78bc572984e80897 /graphics
parent06b9a5df8b3a1151f4324571d76d1c7325821590 (diff)
downloadpkgsrc-5681b7b411f0f8867a7121712e1c93dc5d504b6c.tar.gz
Handle freetype2 package like the MesaLib package as it is bundled with
XFree86-4.0.x.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/freetype2/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile
index 5bb979eb2c3..488731591e7 100644
--- a/graphics/freetype2/Makefile
+++ b/graphics/freetype2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/02/24 02:09:28 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2001/04/19 19:11:59 jlam Exp $
#
DISTNAME= freetype-2.0.1
@@ -15,12 +15,19 @@ MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.freetype.org/
COMMENT= font rendering engine and library API
-USE_GMAKE= YES
-GNU_CONFIGURE= YES
-USE_LIBTOOL= YES
+CHECK_FREETYPE2= YES
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/builds/unix/ltconfig
+.include "../../mk/bsd.prefs.mk"
+
+.if ${HAVE_BUILTIN_FREETYPE2} != "NO"
+IGNORE= "FreeType2 has already been installed as part of XFree86-4.x"
+.endif
+
post-patch:
${RM} -f ${LTCONFIG_OVERRIDE} ; \
${ECHO} "${RM} -f libtool; ${LN} -s ${LIBTOOL} libtool" \