summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz>2007-01-19 18:04:03 +0000
committerwiz <wiz>2007-01-19 18:04:03 +0000
commitb6f8274a53362bca818243d6f8f431b261f72aec (patch)
treef51ff0942a1041d927feebbc137d62f327f25476 /x11
parent875ad59cdbccd92565349d96582b95fcd3913f9c (diff)
downloadpkgsrc-b6f8274a53362bca818243d6f8f431b261f72aec.tar.gz
Fix compilation on platforms where gcc does not produce PIC objects by default.
Diffstat (limited to 'x11')
-rw-r--r--x11/py-qt3-sip/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/py-qt3-sip/Makefile b/x11/py-qt3-sip/Makefile
index 84c561bfc44..29fcda6317f 100644
--- a/x11/py-qt3-sip/Makefile
+++ b/x11/py-qt3-sip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2006/04/17 13:46:05 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2007/01/19 18:04:03 wiz Exp $
#
DISTNAME= sip-4.3.2
@@ -37,6 +37,7 @@ CONFIGURE_ARGS+= CFLAGS_SHLIB=-fno-common
CONFIGURE_ARGS+= LFLAGS_PLUGIN="-bundle -flat_namespace -undefined suppress"
.else
CONFIGURE_ARGS+= CFLAGS_SHLIB=-fPIC
+CONFIGURE_ARGS+= CXXFLAGS_SHLIB=-fPIC
.if ${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc*)
# gcc3 uses -mimpure-text to not pass -assert pure-text to the linker
CONFIGURE_ARGS+= LFLAGS_SHLIB="-shared -mimpure-text"