aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2018-10-31 17:25:55 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2018-10-31 17:25:55 +0000
commit8de7272c50033b3d5ecde97b0bf814eaead7b8f6 (patch)
treed6ea31be17e0a161a8b1dd427d038e45ef0f4bb1
parent33bfd768cb9c9688841822a306d081551734ac0a (diff)
downloadports-8de7272c50033b3d5ecde97b0bf814eaead7b8f6.tar.gz
ports-8de7272c50033b3d5ecde97b0bf814eaead7b8f6.zip
- Unbreak build on 13-CURRENT
Notes
Notes: svn path=/head/; revision=483597
-rw-r--r--net-mgmt/net-snmp/Makefile2
-rw-r--r--net-mgmt/net-snmp/files/patch-Makefile.in11
-rw-r--r--net-mgmt/net-snmp/pkg-plist1
3 files changed, 13 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 8db1473f9a3c..6a338e6fbd92 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -256,6 +256,8 @@ post-patch:
${WRKSRC}/agent/mibgroup/host/hr_system.c
@${REINPLACE_CMD} -E -e 's|return pci_lookup_name|disabled broken|g' \
${WRKSRC}/configure
+ @${CP} ${WRKSRC}/include/net-snmp/system/freebsd12.h \
+ ${WRKSRC}/include/net-snmp/system/freebsd13.h
post-configure:
@${FIND} ${WRKSRC} -name Makefile | \
diff --git a/net-mgmt/net-snmp/files/patch-Makefile.in b/net-mgmt/net-snmp/files/patch-Makefile.in
index 6112d784e01a..839d7a86dbd5 100644
--- a/net-mgmt/net-snmp/files/patch-Makefile.in
+++ b/net-mgmt/net-snmp/files/patch-Makefile.in
@@ -1,5 +1,14 @@
---- Makefile.in.orig 2015-01-19 14:39:40 UTC
+--- Makefile.in.orig 2014-12-08 20:23:22 UTC
+++ Makefile.in
+@@ -21,7 +21,7 @@ INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi
+ darwin.h darwin7.h darwin8.h darwin9.h darwin10.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 freebsd.h \
++ freebsd12.h freebsd13.h freebsd.h \
+ generic.h \
+ hpux.h irix.h linux.h mingw32.h mips.h netbsd.h osf5.h \
+ openbsd.h openbsd5.h openbsd4.h \
@@ -230,7 +230,7 @@ pythonmodules: subdirs
fi
diff --git a/net-mgmt/net-snmp/pkg-plist b/net-mgmt/net-snmp/pkg-plist
index f1bb75d134d5..393a24e3d944 100644
--- a/net-mgmt/net-snmp/pkg-plist
+++ b/net-mgmt/net-snmp/pkg-plist
@@ -191,6 +191,7 @@ include/net-snmp/system/freebsd9.h
include/net-snmp/system/freebsd10.h
include/net-snmp/system/freebsd11.h
include/net-snmp/system/freebsd12.h
+include/net-snmp/system/freebsd13.h
include/net-snmp/system/generic.h
include/net-snmp/system/hpux.h
include/net-snmp/system/irix.h