pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Removed some extra code that I had added...
details: https://anonhg.NetBSD.org/pkgsrc/rev/14399067abc1
branches: trunk
changeset: 535100:14399067abc1
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Nov 07 17:30:01 2007 +0000
description:
Removed some extra code that I had added years ago (bsd.pkg.mk 1.1610)
when pkg_create didn't print an error message on failure. If that should
ever happen again, we should fix pkg_create instead of adding code here.
diffstat:
mk/flavor/pkg/package.mk | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (23 lines):
diff -r 9bbd36991233 -r 14399067abc1 mk/flavor/pkg/package.mk
--- a/mk/flavor/pkg/package.mk Wed Nov 07 17:25:33 2007 +0000
+++ b/mk/flavor/pkg/package.mk Wed Nov 07 17:30:01 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: package.mk,v 1.11 2007/09/07 17:01:10 rillig Exp $
+# $NetBSD: package.mk,v 1.12 2007/11/07 17:30:01 rillig Exp $
PKG_SUFX?= .tgz
PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
@@ -40,12 +40,7 @@
${PKGFILE}: ${_CONTENTS_TARGETS}
${RUN} ${MKDIR} ${.TARGET:H}
- ${RUN} ${PKG_CREATE} ${_PKG_ARGS_PACKAGE} ${.TARGET} || { \
- exitcode=$$?; \
- ${ERROR_MSG} "${PKG_CREATE:T} failed ($$exitcode)"; \
- ${RM} -f ${.TARGET}; \
- exit 1; \
- }
+ ${RUN} ${PKG_CREATE} ${_PKG_ARGS_PACKAGE} ${.TARGET}
######################################################################
### package-remove (PRIVATE)
Home |
Main Index |
Thread Index |
Old Index