pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Fixed pkglint warnings regarding the SUBST block.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6065c9ae2cb7
branches:  trunk
changeset: 514785:6065c9ae2cb7
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jun 18 00:56:11 2006 +0000

description:
Fixed pkglint warnings regarding the SUBST block.

diffstat:

 devel/elfsh/Makefile    |  8 +++++---
 graphics/aview/Makefile |  8 ++++----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 3c46f4c34fe6 -r 6065c9ae2cb7 devel/elfsh/Makefile
--- a/devel/elfsh/Makefile      Sun Jun 18 00:51:34 2006 +0000
+++ b/devel/elfsh/Makefile      Sun Jun 18 00:56:11 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:14 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/06/18 00:56:11 rillig Exp $
 #
 
 VERS=          0.51b3
@@ -17,10 +17,12 @@
 
 USE_GNU_READLINE=      yes
 
+SUBST_CLASSES+=                elfsh
 SUBST_STAGE.elfsh=     post-patch
+SUBST_MESSAGE.elfsh=   Filling placeholders.
 SUBST_FILES.elfsh=     vm/include/elfsh.h
-SUBST_SED.elfsh=       -e s,@@SH@@,${SH}, -e s,@@PREFIX@@,${PREFIX},
-SUBST_CLASSES+=                elfsh
+SUBST_SED.elfsh=       -e s,@@SH@@,${SH},
+SUBST_SED.elfsh+=      -e s,@@PREFIX@@,${PREFIX},
 
 # XXX This package should be converted to use libtool
 
diff -r 3c46f4c34fe6 -r 6065c9ae2cb7 graphics/aview/Makefile
--- a/graphics/aview/Makefile   Sun Jun 18 00:51:34 2006 +0000
+++ b/graphics/aview/Makefile   Sun Jun 18 00:56:11 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/04/17 13:46:30 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2006/06/18 00:59:17 rillig Exp $
 #
 
 DISTNAME=      aview-1.3.0rc1
@@ -22,9 +22,9 @@
 .include "../../mk/bsd.prefs.mk"
 
 SUBST_CLASSES+=                programs
+SUBST_STAGE.programs=  post-patch
+SUBST_MESSAGE.programs=        Filling @placeholders@.
 SUBST_FILES.programs=  Makefile.in
-SUBST_STAGE.programs=  post-patch
-
 .if (${MACHINE_ARCH} == "i386")
 SUBST_SED.programs+=   -e 's,@BIN_PROGRAMS@,aview aaflip,g'
 .else
@@ -37,7 +37,7 @@
 REPLACE_FILES.bash=    asciiview
 
 post-install:
-       @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+       ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aview/
        ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/aview/
        ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/aview/



Home | Main Index | Thread Index | Old Index