diff options
-rw-r--r-- | net/net-snmp/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index 29f01ab1a9a..20e297eaf50 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.106 2014/08/22 16:27:18 adam Exp $ +# $NetBSD: Makefile,v 1.107 2014/08/25 14:31:47 adam Exp $ .include "Makefile.common" PKGREVISION= 1 @@ -93,6 +93,14 @@ 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 + # Handle ${PREFIX}/share/snmp in the DEINSTALL script since it may contain # leftover config files or pidfiles after deinstallation. # |