diff options
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r-- | net-mgmt/net-snmp-devel/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile index 796d353b060b..86fa82e55d84 100644 --- a/net-mgmt/net-snmp-devel/Makefile +++ b/net-mgmt/net-snmp-devel/Makefile @@ -59,10 +59,6 @@ CONFIGURE_ARGS+=--with-dummy-values .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= plist is incorrect for 4.x. Please wait to be fixed. -.endif - .if defined(WITHOUT_PERL) PLIST_SUB+= WITH_PERL="@comment " .else @@ -234,8 +230,8 @@ post-configure: .if !defined(WITHOUT_PERL) post-build: ${FIND} ${WRKSRC}/perl -name Makefile | \ - ${XARGS} ${PERL} -pi -e '\ - s!^(PREFIX) = /usr/local!$$1 = ${PREFIX}!; \ + ${XARGS} ${REINPLACE_CMD} -e '\ + s!^(PREFIX) = .*!$$1 = ${PREFIX}!; \ s!^(INSTALLMAN3DIR) = /usr/local!$$1 = \$$\(PREFIX\)!; \ s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \ ' |