diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-25 16:20:49 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-25 16:20:49 +0000 |
commit | efcb348186744d7ebe4bb130ae698ff97844d6fc (patch) | |
tree | 97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /net/avahi | |
parent | 0cf61cf9d96d1ae2d1cfa02af469339cf3786f02 (diff) | |
download | pkgsrc-efcb348186744d7ebe4bb130ae698ff97844d6fc.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'net/avahi')
-rw-r--r-- | net/avahi/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile index 97c2f6938d3..b4d27d6d2b0 100644 --- a/net/avahi/Makefile +++ b/net/avahi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.59 2015/10/10 01:58:15 ryoon Exp $ +# $NetBSD: Makefile,v 1.60 2016/02/25 16:20:50 jperkin Exp $ DISTNAME= avahi-0.6.31 PKGREVISION= 24 @@ -46,10 +46,7 @@ PKG_GECOS.${AVAHI_USER}= Avahi user .include "options.mk" -.if ${OPSYS} == "NetBSD" -CFLAGS+= -D_NETBSD_SOURCE -.endif - +CFLAGS.NetBSD+= -D_NETBSD_SOURCE CPPFLAGS.SunOS+= --std=c99 -D_XOPEN_SOURCE=600 # Not yet reported upstream. CPPFLAGS.Darwin+= -D__APPLE_USE_RFC_3542 |