diff options
author | hiramatsu <hiramatsu> | 2005-10-12 04:43:26 +0000 |
---|---|---|
committer | hiramatsu <hiramatsu> | 2005-10-12 04:43:26 +0000 |
commit | e0d3616016f06aac8b31519c2ba9df5b40a810e2 (patch) | |
tree | 2d4de94b099fe521e855b86be90904c30959b74a /graphics | |
parent | 08c247c04d041df377731e98270483a04ed0c593 (diff) | |
download | pkgsrc-e0d3616016f06aac8b31519c2ba9df5b40a810e2.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/Makefile | 7 |
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" |