summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/net-snmp/Makefile4
-rw-r--r--net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h6
2 files changed, 3 insertions, 7 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index f4b7df20ef0b..9909de70e05f 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -244,10 +244,6 @@ post-patch:
@${REINPLACE_CMD} -E -e 's|SSL_library_init|OPENSSL_init_ssl|g' \
${WRKSRC}/configure
.endif
- @${CP} ${WRKSRC}/include/net-snmp/system/freebsd12.h \
- ${WRKSRC}/include/net-snmp/system/freebsd13.h
- @${CP} ${WRKSRC}/include/net-snmp/system/freebsd14.h \
- ${WRKSRC}/include/net-snmp/system/freebsd15.h
.for header in darwin7.h darwin8.h darwin9.h darwin10.h darwin11.h darwin12.h \
darwin13.h darwin14.h darwin15.h darwin16.h darwin17.h
@${CP} ${WRKSRC}/include/net-snmp/system/darwin.h \
diff --git a/net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h b/net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h
index d81ec27f83d5..90a4d4e2db1d 100644
--- a/net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h
+++ b/net-mgmt/net-snmp/files/patch-include_net-snmp_system_freebsd15.h
@@ -1,6 +1,6 @@
--- include/net-snmp/system/freebsd15.h.orig 2024-03-02 16:01:17 UTC
+++ include/net-snmp/system/freebsd15.h
@@ -0,0 +1,3 @@
-+/* freebsd14 is a superset of freebsd13 */
-+#include "freebsd13.h"
-+#define freebsd13 freebsd13
++/* freebsd15 is a superset of freebsd14 */
++#include "freebsd14.h"
++#define freebsd14 freebsd14