pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/netpbm Several of the netpbm shell scripts us...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8d40ea25cc5f
branches: trunk
changeset: 495506:8d40ea25cc5f
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Jun 12 06:37:32 2005 +0000
description:
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:
graphics/netpbm/Makefile | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 7bfa489c469c -r 8d40ea25cc5f graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile Sun Jun 12 05:26:47 2005 +0000
+++ b/graphics/netpbm/Makefile Sun Jun 12 06:37:32 2005 +0000
@@ -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 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index