pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Resurrect do-extract target, followin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dc1a141d498
branches:  trunk
changeset: 475029:9dc1a141d498
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sun May 09 05:13:24 2004 +0000

description:
Resurrect do-extract target, following atatat's advice.
This way, sources are extracted first as any other package, allowing for
local patches.

diffstat:

 pkgtools/pkglint/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 94e0b8c94237 -r 9dc1a141d498 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sun May 09 04:56:45 2004 +0000
+++ b/pkgtools/pkglint/Makefile Sun May 09 05:13:24 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.185 2004/04/24 00:17:20 reed Exp $
+# $NetBSD: Makefile,v 1.186 2004/05/09 05:13:24 jschauma Exp $
 #
 
 DISTNAME=      pkglint-3.73
@@ -33,15 +33,20 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+do-extract:
+       @${MKDIR} ${WRKSRC}/src
+.for FILE in ${SUBST_FILES}
+       ${CP} ${FILESDIR}/${FILE} ${WRKSRC}/src/${FILE}
+.endfor
+
 do-build:
-       @${MKDIR} ${WRKSRC}/src
 .for FILE in ${SUBST_FILES}
        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
                -e 's|@DISTVER@|${DISTVER}|g'           \
                -e 's|@MAKE@|${MAKE}|g'                 \
                -e 's|@PERL@|${PERL5}|g'                \
-               ${FILESDIR}/${FILE} > ${WRKSRC}/${FILE}
+               ${WRKSRC}/src/${FILE} > ${WRKSRC}/${FILE}
 .endfor
 .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
    # the pre-generated man-pages are 'mandoc';  these OS need 'man'



Home | Main Index | Thread Index | Old Index