diff options
author | grant <grant@pkgsrc.org> | 2003-05-06 21:10:39 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-05-06 21:10:39 +0000 |
commit | ace2e30bbdb8cea40b5a0baf821ec23764714db8 (patch) | |
tree | dbcee1c3807c569c99892ebfadc5a8f72b48c841 /net/net-snmp | |
parent | 423f96a9b9654083c7de32dea04617bfd6e88ff4 (diff) | |
download | pkgsrc-ace2e30bbdb8cea40b5a0baf821ec23764714db8.tar.gz |
net-snmp doesn't have working IPv6 support on Solaris, so deal with
the two header files which are not installed as a result.
Diffstat (limited to 'net/net-snmp')
-rw-r--r-- | net/net-snmp/Makefile | 8 | ||||
-rw-r--r-- | net/net-snmp/PLIST | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index 749ec987cf8..c7b79ce9978 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2003/04/02 19:16:18 jmc Exp $ +# $NetBSD: Makefile,v 1.5 2003/05/06 21:10:39 grant Exp $ DISTNAME= net-snmp-5.0.6 CATEGORIES= net @@ -32,11 +32,15 @@ CFLAGS+= -Dnetbsd1 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-shared -.if defined(USE_INET6) && (${USE_INET6} == "YES") +# net-snmp doesn't do IPv6 on Solaris +.if (defined(USE_INET6) && (${USE_INET6} == "YES")) && ${OPSYS} != "SunOS" CONFIGURE_ARGS+= --enable-ipv6 +IPV6H= "" .else CONFIGURE_ARGS+= --disable-ipv6 +IPV6H= "@comment " .endif +PLIST_SUBST+= IPV6H=${IPV6H} CONFIGURE_ARGS+= --with-defaults CONFIGURE_ARGS+= --with-libwrap CONFIGURE_ARGS+= --with-openssl diff --git a/net/net-snmp/PLIST b/net/net-snmp/PLIST index c2a88a87650..9f8422d0fda 100644 --- a/net/net-snmp/PLIST +++ b/net/net-snmp/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2002/12/16 00:27:48 cjep Exp $ +@comment $NetBSD: PLIST,v 1.4 2003/05/06 21:10:39 grant Exp $ bin/encode_keychange bin/fixproc bin/ipf-mod.pl @@ -85,9 +85,9 @@ include/net-snmp/library/snmp-tc.h include/net-snmp/library/snmp.h include/net-snmp/library/snmpCallbackDomain.h include/net-snmp/library/snmpTCPDomain.h -include/net-snmp/library/snmpTCPIPv6Domain.h +${IPV6H}include/net-snmp/library/snmpTCPIPv6Domain.h include/net-snmp/library/snmpUDPDomain.h -include/net-snmp/library/snmpUDPIPv6Domain.h +${IPV6H}include/net-snmp/library/snmpUDPIPv6Domain.h include/net-snmp/library/snmpUnixDomain.h include/net-snmp/library/snmp_alarm.h include/net-snmp/library/snmp_api.h |