From c0afd7d84505595dc49ade027ee78c61234e3e18 Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 12 Oct 2011 17:43:14 +0000 Subject: Fix build on SunOS. --- net/py-ORBit/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'net') 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) -- cgit v1.2.3