summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-17 15:09:59 +0000
committerrillig <rillig@pkgsrc.org>2006-07-17 15:09:59 +0000
commit3946057527dbf14863e2f8052ceaa547e66cf6e5 (patch)
tree0ed1d573380fde496441adade8b82d18ba311647 /converters
parentcc561f7abd23a4d4006e22d86995e82dee1afd8a (diff)
downloadpkgsrc-3946057527dbf14863e2f8052ceaa547e66cf6e5.tar.gz
Added GNU_PROGRAM_PREFIX to BUILD_DEFS and fixed pkglint warnings.
Diffstat (limited to 'converters')
-rw-r--r--converters/convmv/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/converters/convmv/Makefile b/converters/convmv/Makefile
index b6c5b6b1d0f..c40777d72a5 100644
--- a/converters/convmv/Makefile
+++ b/converters/convmv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/02/11 17:24:17 heinz Exp $
+# $NetBSD: Makefile,v 1.5 2006/07/17 15:09:59 rillig Exp $
DISTNAME= convmv-1.09
CATEGORIES= converters
@@ -18,6 +18,8 @@ USE_TOOLS+= perl:run
MANCOMPRESSED= yes
NO_BUILD= yes
+BUILD_DEFS+= GNU_PROGRAM_PREFIX
+
# the test script needs the GNU versions
MAKE_ENV+= CONVMV_LS=${GNU_PROGRAM_PREFIX}ls \
CONVMV_CP=${GNU_PROGRAM_PREFIX}cp
@@ -33,12 +35,12 @@ REPLACE_PERL+= ${WRKSRC}/convmv
SUBST_CLASSES+= convmv
SUBST_STAGE.convmv= pre-configure
SUBST_FILES.convmv= suite/dotests.sh
-SUBST_SED.convmv+= "1s|/bin/sh|${SH}|"
+SUBST_SED.convmv= -e "1s|/bin/sh|${SH}|"
TEST_TARGET= test
post-extract:
- @# use option p to get the right permissions for symlinks
- @cd ${WRKSRC} && ${TAR} -xpf testsuite.tar
+ # use option p to get the right permissions for symlinks
+ cd ${WRKSRC} && ${TAR} -xpf testsuite.tar
.include "../../mk/bsd.pkg.mk"