pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Why do things in a simple way when there is a compl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5497a6966d82
branches: trunk
changeset: 532983:5497a6966d82
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Sep 06 08:24:12 2007 +0000
description:
Why do things in a simple way when there is a complicated alternative?
diffstat:
mk/bsd.pkg.update.mk | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diffs (30 lines):
diff -r da27119bfe02 -r 5497a6966d82 mk/bsd.pkg.update.mk
--- a/mk/bsd.pkg.update.mk Thu Sep 06 04:05:39 2007 +0000
+++ b/mk/bsd.pkg.update.mk Thu Sep 06 08:24:12 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.update.mk,v 1.7 2006/10/05 12:56:27 rillig Exp $
+# $NetBSD: bsd.pkg.update.mk,v 1.8 2007/09/06 08:24:12 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and contains the targets
# and variables for "make update".
@@ -125,16 +125,10 @@
${_DDIR}: ${_DLIST}
- ${_PKG_SILENT}${_PKG_DEBUG} \
- ddir=`${SED} 's:-[^-]*$$::' ${_DLIST}`; \
- ${ECHO} >${_DDIR}; \
- for pkg in $${ddir} ; do \
- if ${PKG_INFO} -b "$${pkg}" >/dev/null 2>&1 ; then \
- ${PKG_INFO} -b "$${pkg}" | ${SED} -ne \
- 's,\([^/]*/[^/]*\)/Makefile:.*,\1,p' | \
- ${HEAD} -1 >>${_DDIR}; \
- fi ; \
- done
+ ${RUN} \
+ for pkg in `${CAT} ${_DLIST}`; do \
+ ${PKG_INFO} -Q PKGPATH "$${pkg}"; \
+ done >> ${_DDIR}
${_DLIST}: ${WRKDIR}
${_PKG_SILENT}${_PKG_DEBUG} \
Home |
Main Index |
Thread Index |
Old Index