pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint The exitcode from running pkglint in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54f683780179
branches:  trunk
changeset: 503054:54f683780179
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Nov 13 17:39:05 2005 +0000

description:
The exitcode from running pkglint in the post-install target is ignored,
since the pkglint Makefile sets MANINSTALL but shouldn't, as this
variable is intended to be user-defined. This is only a work-around,
which needs to be addressed properly for the other packages setting
MANINSTALL, too.

diffstat:

 pkgtools/pkglint/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 3430b3fd8266 -r 54f683780179 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sun Nov 13 16:27:41 2005 +0000
+++ b/pkgtools/pkglint/Makefile Sun Nov 13 17:39:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.292 2005/11/10 14:30:56 rillig Exp $
+# $NetBSD: Makefile,v 1.293 2005/11/13 17:39:05 rillig Exp $
 #
 
 DISTNAME=      pkglint-4.40
@@ -58,6 +58,6 @@
        ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
 
 post-install:
-       ${PREFIX}/bin/pkglint -q 1>&2
+       ${PREFIX}/bin/pkglint -q 1>&2 || ${TRUE}
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index