aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-09-05 08:21:42 +0000
committerCy Schubert <cy@FreeBSD.org>2023-09-05 08:25:54 +0000
commitf42664108833fc6a003661fd8d411dc1bc487f61 (patch)
tree597d3e80f3d2b25ad1876568c57490d2c3fdc64b
parente60b982011d686d9f19bd9747f12da6b8f813f4a (diff)
downloadports-f42664108833fc6a003661fd8d411dc1bc487f61.tar.gz
ports-f42664108833fc6a003661fd8d411dc1bc487f61.zip
net-mgmt/net-snmp: Fix ports depending on this port under 15-CURRENT
Also add freebsd15.h to ${LOCALBASE}/include/net-snmp/system, missing in 710a64c4471d. ${LOCALBASE}/include/net-snmp/system/freebsd15.h is used by ports which depend on net-mgmt/net-snmp. Without this file they also fail to build under 15-CURRENT. Approved by: portmgr (blanket) Fixes: 710a64c4471d
-rw-r--r--net-mgmt/net-snmp/Makefile2
-rw-r--r--net-mgmt/net-snmp/files/patch-Makefile.in15
-rw-r--r--net-mgmt/net-snmp/pkg-plist1
3 files changed, 14 insertions, 4 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 7d4ceceac19f..eacbe131304b 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= snmp
PORTVERSION= 5.9.1
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \
diff --git a/net-mgmt/net-snmp/files/patch-Makefile.in b/net-mgmt/net-snmp/files/patch-Makefile.in
index f52bdf80ad44..db474f4c3309 100644
--- a/net-mgmt/net-snmp/files/patch-Makefile.in
+++ b/net-mgmt/net-snmp/files/patch-Makefile.in
@@ -1,6 +1,15 @@
---- Makefile.in.orig 2020-08-14 21:41:47 UTC
-+++ Makefile.in
-@@ -235,7 +235,7 @@ pythonmodules: subdirs
+--- Makefile.in.orig 2021-05-25 15:19:35.000000000 -0700
++++ Makefile.in 2023-09-05 01:13:06.391986000 -0700
+@@ -21,7 +21,7 @@
+ darwin.h dragonfly.h dynix.h \
+ freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h \
+ freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd11.h \
+- freebsd12.h freebsd13.h freebsd14.h freebsd.h \
++ freebsd12.h freebsd13.h freebsd14.h freebsd15.h freebsd.h \
+ generic.h \
+ hpux.h irix.h kfreebsd.h linux.h mingw32.h mingw32msvc.h mips.h \
+ netbsd.h nto-qnx6.h osf5.h \
+@@ -234,7 +234,7 @@
fi
pythoninstall:
diff --git a/net-mgmt/net-snmp/pkg-plist b/net-mgmt/net-snmp/pkg-plist
index e209b917a38c..421aa615444c 100644
--- a/net-mgmt/net-snmp/pkg-plist
+++ b/net-mgmt/net-snmp/pkg-plist
@@ -198,6 +198,7 @@ include/net-snmp/system/freebsd11.h
include/net-snmp/system/freebsd12.h
include/net-snmp/system/freebsd13.h
include/net-snmp/system/freebsd14.h
+include/net-snmp/system/freebsd15.h
include/net-snmp/system/generic.h
include/net-snmp/system/hpux.h
include/net-snmp/system/irix.h