summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-03-10 14:28:33 +0000
committerrillig <rillig@pkgsrc.org>2006-03-10 14:28:33 +0000
commit1e75667c375f2f84162481aa3a91d5db56e094bf (patch)
tree5b8f4632a12c1cd143661bb1eef9c2eed2deb4e5
parent334594a9acb7ce00ab4fa2673cbe2cbba1fca8a2 (diff)
downloadpkgsrc-1e75667c375f2f84162481aa3a91d5db56e094bf.tar.gz
One executable shell program needs bash instead of sh. Bumped PKGREVISION.
-rw-r--r--net/net-snmp/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 17463ca7357..02a81c0a726 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2006/03/08 02:52:14 minskim Exp $
+# $NetBSD: Makefile,v 1.45 2006/03/10 14:28:33 rillig Exp $
DISTNAME= net-snmp-5.3.0.1
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/} \
ftp://ftp.net-smnp.org/pub/sourceforge/net-snmp/
@@ -88,6 +89,13 @@ CONFIGURE_ENV+= PERLPROG=${PERL5:Q}
REQD_DIRS= ${PREFIX}/share/snmp
RCD_SCRIPTS= snmpd snmptrapd
+DEPENDS+= bash-[0-9]*:../../shells/bash
+
+REPLACE_INTERPRETER+= bash
+REPLACE.bash.old= /bin/bash
+REPLACE.bash.new= ${LOCALBASE}/bin/bash
+REPLACE_FILES.bash= local/mib2c-update
+
post-wrapper:
.if !empty(MACHINE_PLATFORM:MNetBSD-1.5.[123]*-i386)
${MKDIR} ${BUILDLINK_DIR}/include/sys