pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/convmv Added GNU_PROGRAM_PREFIX to BUILD_DE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c55e75f4c06
branches:  trunk
changeset: 516212:9c55e75f4c06
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jul 17 15:09:59 2006 +0000

description:
Added GNU_PROGRAM_PREFIX to BUILD_DEFS and fixed pkglint warnings.

diffstat:

 converters/convmv/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 02104ffe8702 -r 9c55e75f4c06 converters/convmv/Makefile
--- a/converters/convmv/Makefile        Mon Jul 17 14:32:26 2006 +0000
+++ b/converters/convmv/Makefile        Mon Jul 17 15:09:59 2006 +0000
@@ -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 @@
 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 @@
 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"



Home | Main Index | Thread Index | Old Index