From 1e75667c375f2f84162481aa3a91d5db56e094bf Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 10 Mar 2006 14:28:33 +0000 Subject: One executable shell program needs bash instead of sh. Bumped PKGREVISION. --- net/net-snmp/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3