diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-11 14:52:21 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-11 14:52:21 +0000 |
commit | 0740674ec265803295e568fa40e09a1276b39942 (patch) | |
tree | bde956683ec4af627388afb6d8633189da3076ec /net-mgmt | |
parent | b14d0e9d8563cfa5ab420c7b9967ec30c37b758d (diff) | |
download | ports-0740674ec265803295e568fa40e09a1276b39942.tar.gz ports-0740674ec265803295e568fa40e09a1276b39942.zip |
o Fix on 4.x.
o Use $REINPLACE_CMD.
Submitted by: lofi@
Notes
Notes:
svn path=/head/; revision=103656
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp-devel/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 8 |
3 files changed, 6 insertions, 18 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$$!!; \ ' diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 796d353b060b..86fa82e55d84 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/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$$!!; \ ' diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index 796d353b060b..86fa82e55d84 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/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$$!!; \ ' |