pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Don't run pkg_create with the -v option....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93c8e73f56f2
branches:  trunk
changeset: 537991:93c8e73f56f2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jan 23 14:07:07 2008 +0000

description:
Don't run pkg_create with the -v option. It prints a temporary package
name which isn't correct, and the "Value of SrcDir" that is used is not
important to any pkgsrc user. Instead, let the pkgsrc infrastructure
print the package name.

diffstat:

 mk/flavor/pkg/metadata.mk |  4 ++--
 mk/flavor/pkg/package.mk  |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 7bd755f884e5 -r 93c8e73f56f2 mk/flavor/pkg/metadata.mk
--- a/mk/flavor/pkg/metadata.mk Wed Jan 23 13:46:21 2008 +0000
+++ b/mk/flavor/pkg/metadata.mk Wed Jan 23 14:07:07 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: metadata.mk,v 1.28 2008/01/05 22:06:20 rillig Exp $
+# $NetBSD: metadata.mk,v 1.29 2008/01/23 14:07:07 rillig Exp $
 
 ######################################################################
 ### The targets below are all PRIVATE.
@@ -316,7 +316,7 @@
        ${AWK} '$$1 == "bootstrap" || $$1 == "build" { printf "@blddep %s\n", $$3; }' < ${_RDEPENDS_FILE}; \
        ${CAT} ${PLIST}; } > ${.TARGET}
 
-_PKG_CREATE_ARGS+=                             -v -l -U
+_PKG_CREATE_ARGS+=                             -l -U
 _PKG_CREATE_ARGS+=                             -B ${_BUILD_INFO_FILE}
 _PKG_CREATE_ARGS+=                             -b ${_BUILD_VERSION_FILE}
 _PKG_CREATE_ARGS+=                             -c ${_COMMENT_FILE}
diff -r 7bd755f884e5 -r 93c8e73f56f2 mk/flavor/pkg/package.mk
--- a/mk/flavor/pkg/package.mk  Wed Jan 23 13:46:21 2008 +0000
+++ b/mk/flavor/pkg/package.mk  Wed Jan 23 14:07:07 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: package.mk,v 1.15 2008/01/05 22:06:20 rillig Exp $
+# $NetBSD: package.mk,v 1.16 2008/01/23 14:07:07 rillig Exp $
 
 PKG_SUFX?=             .tgz
 PKGFILE?=              ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
@@ -40,6 +40,7 @@
 
 ${PKGFILE}: ${_CONTENTS_TARGETS}
        ${RUN} ${MKDIR} ${.TARGET:H}
+       @${STEP_MSG} "Creating binary package ${.TARGET}"
        ${RUN} tmpname=${.TARGET:S,${PKG_SUFX}$,.tmp${PKG_SUFX},};      \
        if ${PKG_CREATE} ${_PKG_ARGS_PACKAGE} "$$tmpname"; then         \
                ${MV} -f "$$tmpname" ${.TARGET};                        \



Home | Main Index | Thread Index | Old Index