summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-07 17:30:01 +0000
committerrillig <rillig@pkgsrc.org>2007-11-07 17:30:01 +0000
commit333ce170ee47812c38de48e054e5d820df95cf6b (patch)
tree451fa6c0b36df0b3a85b135241227eb2ef53d01e /mk
parentc2c24d424f445e59a45524c4e6c8a590c6112054 (diff)
downloadpkgsrc-333ce170ee47812c38de48e054e5d820df95cf6b.tar.gz
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 (limited to 'mk')
-rw-r--r--mk/flavor/pkg/package.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/mk/flavor/pkg/package.mk b/mk/flavor/pkg/package.mk
index b57ab73601f..407bdd2c7d8 100644
--- a/mk/flavor/pkg/package.mk
+++ b/mk/flavor/pkg/package.mk
@@ -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 @@ _PKG_ARGS_PACKAGE+= -E
${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)