summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2005-10-12 04:43:26 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2005-10-12 04:43:26 +0000
commit1efdbdb1788e2de0caf89ac3a4e047a54ff6f009 (patch)
tree2d4de94b099fe521e855b86be90904c30959b74a /graphics
parent63ff12e7eb193c8aed2780ac09e210f54d4d10e9 (diff)
downloadpkgsrc-1efdbdb1788e2de0caf89ac3a4e047a54ff6f009.tar.gz
Force to use src/base/ftsystem.c instead of of builds/unix/ftsystem.c
because it doesn't work properly on OepnBSD.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/freetype2/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile
index c90a7f35c1e..fa278dc090f 100644
--- a/graphics/freetype2/Makefile
+++ b/graphics/freetype2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2005/10/05 13:29:50 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2005/10/12 04:43:26 hiramatsu Exp $
DISTNAME= freetype-2.1.10
PKGNAME= freetype2-2.1.10
@@ -56,6 +56,11 @@ CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g}
CFLAGS+= -fno-strict-aliasing
.endif
+# tell configure not to use unix-specific version of ftsystem.c on OpenBSD
+.if ${OPSYS} == "OpenBSD"
+CONFIGURE_ENV+= ac_cv_func_mmap_fixed_mapped=no
+.endif
+
post-configure:
cd ${WRKSRC} && ${LN} -s builds/unix/unix.mk config.mk
.if ${OPSYS} == "IRIX"