summaryrefslogtreecommitdiff
path: root/x11/py-sip
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 17:56:08 +0000
committerhans <hans@pkgsrc.org>2011-09-14 17:56:08 +0000
commite54287f00271cb8716819825672b4d1dc0f2b0c2 (patch)
treec20fb238580302d6861b33a96c3d94ed2500455a /x11/py-sip
parent6d44e44fbafaabecd9b420976819d4811924c4f0 (diff)
downloadpkgsrc-e54287f00271cb8716819825672b4d1dc0f2b0c2.tar.gz
Fix build on SunOS.
Diffstat (limited to 'x11/py-sip')
-rw-r--r--x11/py-sip/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/py-sip/Makefile b/x11/py-sip/Makefile
index 64d693f398c..49ccf36733e 100644
--- a/x11/py-sip/Makefile
+++ b/x11/py-sip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2011/09/12 18:17:30 drochner Exp $
+# $NetBSD: Makefile,v 1.25 2011/09/14 17:57:12 hans Exp $
DISTNAME= sip-4.12.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -41,6 +41,7 @@ CONFIGURE_ARGS+= LFLAGS_PLUGIN="-bundle -flat_namespace -undefined suppress"
CONFIGURE_ARGS+= CFLAGS_SHLIB=-fPIC
CONFIGURE_ARGS+= CXXFLAGS_SHLIB=-fPIC
. if ${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc*)
+CONFIGURE_ARGS+= -p solaris-g++
# gcc3 uses -mimpure-text to not pass -assert pure-text to the linker
CONFIGURE_ARGS+= LFLAGS_SHLIB="-shared -mimpure-text"
. else