summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-03-22 03:52:37 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-03-22 03:52:37 +0000
commit44bc66fb12f7de671687da55346dee2497fa7de2 (patch)
treefcc86ab450447498798adc42dbe08141ea81f1d2 /net-mgmt/net-snmp/Makefile
parentSayonara, WXG for FreeBSD. Hope we'll see you again some time.. (diff)
Make this port $PREFIX clean.
PR: ports/34551 Submitted by: Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
Diffstat (limited to 'net-mgmt/net-snmp/Makefile')
-rw-r--r--net-mgmt/net-snmp/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index df4a9647c6a2..4a3c19ebc2af 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -71,6 +71,9 @@ CONFIGURE_ARGS+=--with-mib-modules="ucd-snmp/diskio" --with-libs="-ldevstat"
SHLIB_VERSION= 4
PLIST_SUB+= shlib=${SHLIB_VERSION}
+post-patch:
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/aclocal.m4
+
post-install:
@( cd ${PREFIX}/bin && strip ${BIN} )
@( cd ${PREFIX}/sbin && strip ${SBIN} )