diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-12 06:37:32 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-12 06:37:32 +0000 |
commit | f836ddc5ae66d67df5ffd7ad97ce897b66d0e8b4 (patch) | |
tree | c4b90f6591a2077d548fb231a3a621708b5ea8b3 /graphics | |
parent | ab76cd59510cdb6afb4b29227dcf2b2ff5d29860 (diff) | |
download | pkgsrc-f836ddc5ae66d67df5ffd7ad97ce897b66d0e8b4.tar.gz |
Several of the netpbm shell scripts use bashisms, so force using bash
for all of the shell scripts. Bump the PKGREVISION to 1. This fixes
PR pkg/23636.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/netpbm/Makefile | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index f1481d7e07b..e89d519ba64 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.111 2005/05/24 07:53:54 adam Exp $ +# $NetBSD: Makefile,v 1.112 2005/06/12 06:37:32 jlam Exp $ DISTNAME= netpbm-10.26.9 +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/} EXTRACT_SUFX= .tgz @@ -11,8 +12,8 @@ COMMENT= Toolkit for conversion of images between different formats PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_TOOLS+= gmake lex -USE_PERL5= yes +USE_TOOLS+= gmake lex +USE_PERL5= yes INSTALL_TARGET= install-dev install-run MAKE_ENV+= INSTALL="${INSTALL}" STRIPFLAG="${_STRIPFLAG_INSTALL}" \ @@ -26,6 +27,22 @@ STAGEDIR= ${WRKDIR}/staging LIBS.SunOS= -lsocket -lnsl MAKE_ENV+= NETWORKLD="${LIBS}" +# Several of the netpbm shell scripts use bashisms, so force using +# bash for all of the shell scripts. +# +DEPENDS+= bash-[0-9]*:../../shells/bash2 +EVAL_PREFIX+= BASH_PREFIX=bash +SUBST_CLASSES+= bash +SUBST_STAGE.bash= post-build +SUBST_SED.bash= -e "1s|^\#.*bin/sh|\#${BASH_PREFIX}/bin/bash|" +SUBST_FILES.bash= converter/other/anytopnm \ + converter/other/pnmtoplainpnm \ + converter/ppm/hpcdtoppm/hpcdtoppm \ + converter/ppm/hpcdtoppm/pcdovtoppm \ + editor/pamstretch-gen editor/pnmindex \ + editor/pnmmargin editor/ppmquantall \ + other/ppmtomap + pre-configure: ${CP} ${WRKSRC}/Makefile.config.in ${WRKSRC}/Makefile.config |