diff options
-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" |