summaryrefslogtreecommitdiff
path: root/net/py-ORBit
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-10-12 17:43:14 +0000
committerhans <hans@pkgsrc.org>2011-10-12 17:43:14 +0000
commitc0afd7d84505595dc49ade027ee78c61234e3e18 (patch)
treeedb104440997fdbc1dbd7cba9312bf947e3b3492 /net/py-ORBit
parent6037a9582992351f4cdb3639b21fd1cb1e14b60c (diff)
downloadpkgsrc-c0afd7d84505595dc49ade027ee78c61234e3e18.tar.gz
Fix build on SunOS.
Diffstat (limited to 'net/py-ORBit')
-rw-r--r--net/py-ORBit/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/py-ORBit/Makefile b/net/py-ORBit/Makefile
index 2fdf03c0623..a8b66c258cd 100644
--- a/net/py-ORBit/Makefile
+++ b/net/py-ORBit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2011/04/22 13:42:33 obache Exp $
+# $NetBSD: Makefile,v 1.37 2011/10/12 17:49:33 hans Exp $
#
DISTNAME= pyorbit-2.24.0
@@ -25,6 +25,11 @@ BUILDLINK_API_DEPENDS.python26+= python26>=2.6.2nb4
BUILDLINK_API_DEPENDS.python25+= python25>=2.5.4nb2
BUILDLINK_API_DEPENDS.python24+= python24>=2.4.5nb4
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-std=c9x
+.endif
+
do-test:
(cd ${WRKSRC}/tests/c-inproc && ${PYTHONBIN} test-c-inproc.py)