pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 Force to use src/base/ftsystem.c in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52c1e9cb41e1
branches:  trunk
changeset: 500705:52c1e9cb41e1
user:      hiramatsu <hiramatsu%pkgsrc.org@localhost>
date:      Wed Oct 12 04:43:26 2005 +0000

description:
Force to use src/base/ftsystem.c instead of of builds/unix/ftsystem.c
because it doesn't work properly on OepnBSD.

diffstat:

 graphics/freetype2/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 2500ffc387b4 -r 52c1e9cb41e1 graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile       Wed Oct 12 03:19:22 2005 +0000
+++ b/graphics/freetype2/Makefile       Wed Oct 12 04:43:26 2005 +0000
@@ -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+=       -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"



Home | Main Index | Thread Index | Old Index