From af6684c8984e9634858518f56b4584be4918a498 Mon Sep 17 00:00:00 2001 From: tonio Date: Sun, 9 Jul 2006 20:46:07 +0000 Subject: pass -fno-common under darwin, so that gtk2 can link. Bump PKGREVISION. --- x11/Xfixes/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'x11') 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" -- cgit v1.2.3