From 403a142f9e3de294675592ede44e2af7bfa8c8a9 Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 6 May 2003 21:10:39 +0000 Subject: net-snmp doesn't have working IPv6 support on Solaris, so deal with the two header files which are not installed as a result. --- net/net-snmp/Makefile | 8 ++++++-- net/net-snmp/PLIST | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'net') 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 -- cgit v1.2.3