diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-03-11 22:52:21 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-03-11 22:52:21 +0800 |
commit | 5eaf92ea0b974891ba6eb1920313e697f9c9912c (patch) | |
tree | 5775e57a502bf7fefdfc6aaef5d7a5cc42e6eb68 | |
parent | b815d3c9f2725a883e76406f2a039bfed1580180 (diff) | |
download | freebsd-ports-gnome-5eaf92ea0b974891ba6eb1920313e697f9c9912c.tar.gz freebsd-ports-gnome-5eaf92ea0b974891ba6eb1920313e697f9c9912c.tar.zst freebsd-ports-gnome-5eaf92ea0b974891ba6eb1920313e697f9c9912c.zip |
o Fix on 4.x.
o Use $REINPLACE_CMD.
Submitted by: lofi@
-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$$!!; \ ' |