pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Print out the exitcode of pkg_create if nonzero, as...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d431fef5be1
branches:  trunk
changeset: 492461:7d431fef5be1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Apr 13 16:15:59 2005 +0000

description:
Print out the exitcode of pkg_create if nonzero, as it sometimes exists
without an error message. (Example: editors/abiword on NetBSD-1.6.2/i386.)
Approved by jlam.

diffstat:

 mk/bsd.pkg.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a427f7f1e4a1 -r 7d431fef5be1 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed Apr 13 15:36:56 2005 +0000
+++ b/mk/bsd.pkg.mk     Wed Apr 13 16:15:59 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1609 2005/04/13 14:07:30 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1610 2005/04/13 16:15:59 rillig Exp $
 #
 # This file is in the public domain.
 #
@@ -2241,6 +2241,7 @@
        if ${PKG_CREATE} ${PKG_ARGS_BINPKG} ${PKGFILE}; then            \
                ${MAKE} ${MAKEFLAGS} package-links;                     \
        else                                                            \
+               ${ECHO} "(pkg_create: exitcode $$?)";                   \
                ${MAKE} ${MAKEFLAGS} delete-package;                    \
                exit 1;                                                 \
        fi



Home | Main Index | Thread Index | Old Index