summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2008-11-28 09:47:59 +0000
committerhasso <hasso>2008-11-28 09:47:59 +0000
commit5a8fbae3869f615c5e0a6b1d17586cab852359a4 (patch)
tree22994e5885a699e3415663db0a83f7aff5ae3ca2
parent6cc0ca64866127624ef0aabcf8309a67c434e5ea (diff)
downloadpkgsrc-5a8fbae3869f615c5e0a6b1d17586cab852359a4.tar.gz
Make it build on DragonFly.
-rw-r--r--x11/py-sip/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/py-sip/Makefile b/x11/py-sip/Makefile
index 95e25edd146..bb2e3d78939 100644
--- a/x11/py-sip/Makefile
+++ b/x11/py-sip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/10/08 14:10:45 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/11/28 09:47:59 hasso Exp $
#
DISTNAME= sip-4.7.7
@@ -20,17 +20,21 @@ USE_LIBTOOL= yes
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
+.include "../../mk/bsd.prefs.mk"
+
CONFIGURE_ARGS+= -b ${PREFIX}/bin
CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}
CONFIGURE_ARGS+= -e ${PREFIX}/${PYINC}
CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX}
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= -p freebsd-g++
+.endif
CONFIGURE_ARGS+= INCDIR=${PREFIX}/include
CONFIGURE_ARGS+= LIBDIR=${PREFIX}/lib
PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
-.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
.if ${OPSYS} == "Darwin"