diff options
author | jperkin <jperkin> | 2016-02-25 16:20:49 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-25 16:20:49 +0000 |
commit | ad567db973bc8140134864d0dc716f16f1b62655 (patch) | |
tree | 97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /net/net-snmp/Makefile | |
parent | 1c9fe296001fcf1aa65dafa4deddc7ea3d92602d (diff) | |
download | pkgsrc-ad567db973bc8140134864d0dc716f16f1b62655.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'net/net-snmp/Makefile')
-rw-r--r-- | net/net-snmp/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index 9b0a003cebf..f67d5e60543 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.112 2015/08/20 13:51:03 jperkin Exp $ +# $NetBSD: Makefile,v 1.113 2016/02/25 16:20:52 jperkin Exp $ .include "Makefile.common" CATEGORIES= net @@ -23,9 +23,7 @@ MAKE_JOBS_SAFE= no # Don't compress manual pages as they include each other. .undef MANZ -.if ${OPSYS} == "DragonFly" -MAKE_ENV+= MIB_SYSTEM_LIBS=-lkinfo -.endif +MAKE_ENV.DragonFly+= MIB_SYSTEM_LIBS=-lkinfo .if ${OPSYS} == "NetBSD" OSVERSION_SPECIFIC= YES @@ -93,13 +91,11 @@ CONFIGURE_ARGS+= --with-dummy-values # CONFIGURE_ARGS+= --enable-ucd-snmp-compatibility -.if ${OPSYS} == "Darwin" -CFLAGS+= -framework ApplicationServices -CFLAGS+= -framework CoreFoundation -CFLAGS+= -framework CoreServices -CFLAGS+= -framework DiskArbitration -CFLAGS+= -framework IOKit -.endif +CFLAGS.Darwin+= -framework ApplicationServices +CFLAGS.Darwin+= -framework CoreFoundation +CFLAGS.Darwin+= -framework CoreServices +CFLAGS.Darwin+= -framework DiskArbitration +CFLAGS.Darwin+= -framework IOKit # Handle ${PREFIX}/share/snmp in the DEINSTALL script since it may contain # leftover config files or pidfiles after deinstallation. |