summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhans <hans>2011-10-12 17:43:14 +0000
committerhans <hans>2011-10-12 17:43:14 +0000
commit603e41967850df042592e22e1d86021d7cb43757 (patch)
treeedb104440997fdbc1dbd7cba9312bf947e3b3492 /sysutils
parent29995edbab7bb506cb15d6c03c1dd953631f57a3 (diff)
downloadpkgsrc-603e41967850df042592e22e1d86021d7cb43757.tar.gz
Fix build on SunOS.
Diffstat (limited to 'sysutils')
-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