summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2006-07-09 20:46:07 +0000
committertonio <tonio@pkgsrc.org>2006-07-09 20:46:07 +0000
commit2fed2dc693b0db591085b1563995b1e18f99ea97 (patch)
treebb8cc1fe11a1e53efc80b2538593bf58d40fb4d7 /x11
parent33e660ed4044e266b6b99686444d37972ccc0635 (diff)
downloadpkgsrc-2fed2dc693b0db591085b1563995b1e18f99ea97.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"