summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2013-04-23 18:23:02 +0000
committerbsiegert <bsiegert>2013-04-23 18:23:02 +0000
commit133ebc87e997ab70b30b25fc5b8f35115ea4d2fb (patch)
treed0a0cde944c29e8c317860f7ba85b05e16e66b1a /fonts
parent981089b30bc84bd7062a1568e260de15c233050d (diff)
downloadpkgsrc-133ebc87e997ab70b30b25fc5b8f35115ea4d2fb.tar.gz
Remove unsupported g++ option under MirBSD. This is not enough to fix compilation
with the default gcc (3.4.6) but it is at least a start.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/harfbuzz/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/fonts/harfbuzz/Makefile b/fonts/harfbuzz/Makefile
index 6de6ae9624a..f0052d4ea42 100644
--- a/fonts/harfbuzz/Makefile
+++ b/fonts/harfbuzz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2013/04/21 14:39:55 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2013/04/23 18:23:02 bsiegert Exp $
DISTNAME= harfbuzz-0.9.16
CATEGORIES= fonts
@@ -21,6 +21,13 @@ CONFIGURE_ENV+= ICU_CONFIG=no
LDFLAGS.OpenBSD+= -lz
+.include "../../mk/bsd.prefs.mk"
+
+# gcc too old
+.if ${OPSYS} == "MirBSD"
+BUILDLINK_TRANSFORM+= rm:-fvisibility-inlines-hidden
+.endif
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
#cairo is only needed for some cmd line utility