diff options
author | hans <hans@pkgsrc.org> | 2011-04-21 13:25:28 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-04-21 13:25:28 +0000 |
commit | 573f8ebd13345393efca97d2a5dba8cac3638e02 (patch) | |
tree | 15c473cb6aa4b133f28f97d5b2cf776f90648f1f | |
parent | 14778db11fbd7cdcf3b23b98b918fb749e18640b (diff) | |
download | pkgsrc-573f8ebd13345393efca97d2a5dba8cac3638e02.tar.gz |
Fix build on SunOS. From iMil.
-rw-r--r-- | net/avahi/Makefile | 4 |
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 \ |