mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
- Fix build on FreeBSD 10
Approved by: portmgr (miwi)
This commit is contained in:
parent
0106227f78
commit
5ee061e4b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284645
@ -31,6 +31,7 @@ GNU_CONFIGURE= yes
|
||||
USE_RC_SUBR= snmpd.sh snmptrapd.sh
|
||||
USE_OPENSSL= yes
|
||||
USE_LDCONFIG= yes
|
||||
WITH_FBSD10_FIX= yes
|
||||
WANT_PERL= yes
|
||||
|
||||
CONFIGURE_ENV+= PERLPROG="${PERL}" PSPROG="${PS_CMD}" SED="${SED}"
|
||||
|
5
net-mgmt/net-snmp/files/patch-freebsd10.h
Normal file
5
net-mgmt/net-snmp/files/patch-freebsd10.h
Normal file
@ -0,0 +1,5 @@
|
||||
--- include/net-snmp/system/freebsd10.h.orig 2009-09-11 10:02:17.000000000 -0400
|
||||
+++ include/net-snmp/system/freebsd10.h 2009-09-11 10:02:17.000000000 -0400
|
||||
@@ -0,0 +1,2 @@
|
||||
+#include "freebsd9.h"
|
||||
+#define freebsd9 freebsd9
|
@ -5,7 +5,7 @@
|
||||
#if defined( linux )
|
||||
config_require(sctp-mib/sctpScalars_linux)
|
||||
-#elif defined( freebsd8 ) || defined ( freebsd7 )
|
||||
+#elif defined( freebsd9 ) || defined( freebsd8 ) || defined ( freebsd7 )
|
||||
+#elif defined( freebsd10 ) || defined( freebsd9 ) || defined( freebsd8 ) || defined ( freebsd7 )
|
||||
config_require(sctp-mib/sctpScalars_freebsd)
|
||||
#else
|
||||
/*
|
||||
|
@ -5,7 +5,7 @@
|
||||
config_require(sctp-mib/sctpTables_linux)
|
||||
config_require(util_funcs/get_pid_from_inode)
|
||||
-#elif defined( freebsd7 ) || defined( freebsd8 )
|
||||
+#elif defined( freebsd7 ) || defined( freebsd8 ) || defined( freebsd9 )
|
||||
+#elif defined( freebsd7 ) || defined( freebsd8 ) || defined( freebsd9 ) || defined( freebsd10 )
|
||||
config_require(sctp-mib/sctpTables_freebsd)
|
||||
#else
|
||||
config_error(SCTP-MIB is not available in tihs environment)
|
||||
|
@ -5,7 +5,7 @@
|
||||
#define SCTP_TABLES_COMMON_H
|
||||
|
||||
-#if defined(freebsd8) || defined(freebsd7)
|
||||
+#if defined(freebsd9) || defined(freebsd8) || defined(freebsd7)
|
||||
+#if defined(freebsd10) || defined(freebsd9) || defined(freebsd8) || defined(freebsd7)
|
||||
#define netsnmp_table_registration_info_free SNMP_FREE
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user