aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-03-11 14:52:21 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-03-11 14:52:21 +0000
commit0740674ec265803295e568fa40e09a1276b39942 (patch)
treebde956683ec4af627388afb6d8633189da3076ec /net-mgmt
parentb14d0e9d8563cfa5ab420c7b9967ec30c37b758d (diff)
downloadports-0740674ec265803295e568fa40e09a1276b39942.tar.gz
ports-0740674ec265803295e568fa40e09a1276b39942.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile8
-rw-r--r--net-mgmt/net-snmp/Makefile8
-rw-r--r--net-mgmt/net-snmp53/Makefile8
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$$!!; \
'