From 0269c26c027998ed4eb7274770113f02408dbeb1 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 17 Jul 2006 15:09:59 +0000 Subject: Added GNU_PROGRAM_PREFIX to BUILD_DEFS and fixed pkglint warnings. --- converters/convmv/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'converters/convmv') 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" -- cgit v1.2.3