summaryrefslogtreecommitdiff
path: root/sysutils/py-dbus
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 /sysutils/py-dbus
parent6037a9582992351f4cdb3639b21fd1cb1e14b60c (diff)
downloadpkgsrc-c0afd7d84505595dc49ade027ee78c61234e3e18.tar.gz
Fix build on SunOS.
Diffstat (limited to 'sysutils/py-dbus')
-rw-r--r--sysutils/py-dbus/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/py-dbus/Makefile b/sysutils/py-dbus/Makefile
index 06f4d95acf5..707424cf7df 100644
--- a/sysutils/py-dbus/Makefile
+++ b/sysutils/py-dbus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2011/04/22 13:42:19 obache Exp $
+# $NetBSD: Makefile,v 1.20 2011/10/12 17:48:20 hans Exp $
#
DISTNAME= dbus-python-0.83.1
@@ -22,6 +22,11 @@ GNU_CONFIGURE= yes
PY_PATCHPLIST= YES
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-std=c9x
+.endif
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../lang/python/extension.mk"
BUILDLINK_API_DEPENDS.dbus+= dbus>=1.0