summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortonio <tonio>2006-07-09 20:46:07 +0000
committertonio <tonio>2006-07-09 20:46:07 +0000
commitaf6684c8984e9634858518f56b4584be4918a498 (patch)
treebb8cc1fe11a1e53efc80b2538593bf58d40fb4d7 /x11
parentb219127a6db2514d77377702f113472a2a23274a (diff)
downloadpkgsrc-af6684c8984e9634858518f56b4584be4918a498.tar.gz
pass -fno-common under darwin, so that gtk2 can link.
Bump PKGREVISION.
Diffstat (limited to 'x11')
-rw-r--r--x11/Xfixes/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11/Xfixes/Makefile b/x11/Xfixes/Makefile
index 330138c3f07..79963451b87 100644
--- a/x11/Xfixes/Makefile
+++ b/x11/Xfixes/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2006/04/18 19:46:17 reed Exp $
+# $NetBSD: Makefile,v 1.21 2006/07/09 20:46:07 tonio Exp $
#
DISTNAME= libXfixes-2.0.1
PKGNAME= ${DISTNAME:S/libX/X/}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= x11 devel
MASTER_SITES= http://xlibs.freedesktop.org/release/
EXTRACT_SUFX= .tar.bz2
@@ -20,6 +20,11 @@ GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= xfixes.pc.in
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == "Darwin")
+CFLAGS+= -fno-common
+.endif
+
.include "../../x11/fixesproto/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"