summaryrefslogtreecommitdiff
path: root/net/avahi
diff options
context:
space:
mode:
authorhans <hans>2011-04-21 13:25:28 +0000
committerhans <hans>2011-04-21 13:25:28 +0000
commit1fb777cc556c8d7ceb02243608a17d3b1463dc59 (patch)
tree15c473cb6aa4b133f28f97d5b2cf776f90648f1f /net/avahi
parent1596ad77250418619aa4024bec69c1d29a9d29bf (diff)
downloadpkgsrc-1fb777cc556c8d7ceb02243608a17d3b1463dc59.tar.gz
Fix build on SunOS. From iMil.
Diffstat (limited to 'net/avahi')
-rw-r--r--net/avahi/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile
index 583388d0169..039e5850caa 100644
--- a/net/avahi/Makefile
+++ b/net/avahi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2011/01/13 13:36:38 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2011/04/21 13:25:28 hans Exp $
DISTNAME= avahi-0.6.27
PKGREVISION= 4
@@ -50,6 +50,8 @@ PKG_GECOS.${AVAHI_USER}= Avahi user
CFLAGS+= -D_NETBSD_SOURCE
.endif
+CPPFLAGS.SunOS+= --std=c99 -D_XOPEN_SOURCE=600
+
PLIST_SRC+= ${PKGDIR}/PLIST.shared
CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-daemon.conf \