summaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp-devel/Makefile')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index 0afbfb8..c124f38 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/Makefile
@@ -113,6 +113,10 @@ SHLIB_VERSION= 6
PLIST_SUB+= shlib=${SHLIB_VERSION}
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+.if defined(WITH_INETADDRESS_HACK)
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-snmplib::mib.c
+.endif
+
post-patch:
@${REINPLACE_CMD} \
-e 's|%%LTCONFIG%%|${LIBTOOL_SHAREDIR}/ltconfig${LIBTOOL_VERSION}|g' \
OpenPOWER on IntegriCloud