diff options
author | tron <tron@pkgsrc.org> | 2001-07-10 12:04:43 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-07-10 12:04:43 +0000 |
commit | 75a2304553355dcf5a0a93fab805def70462c88a (patch) | |
tree | a85d46c9e49e664ac2656950a1b80adc1b95d70b /mk | |
parent | 805f15ed418b3fe13788d8f0c94add6296f65dde (diff) | |
download | pkgsrc-75a2304553355dcf5a0a93fab805def70462c88a.tar.gz |
Fixes for "tarup" target:
- Add missing "${_PKG_SILENT}${_PKG_DEBUG}" in front.
- Create category directories as required.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 56e51df875c..d54202696d5 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.784 2001/07/10 11:51:57 tron Exp $ +# $NetBSD: bsd.pkg.mk,v 1.785 2001/07/10 12:04:43 tron Exp $ # # This file is in the public domain. # @@ -2256,11 +2256,13 @@ lint: # Create a binary package from an install package using "pkg_tarup" tarup: + ${_PKG_SILENT}${_PKG_DEBUG} \ ${RM} -f ${PACKAGES}/All/${PKGNAME}${PKG_SUFX}; \ PKG_DBDIR=${PKG_DBDIR} PKG_SUFX=${PKG_SUFX:S/.//} \ PKGREPOSITORY=${PACKAGES}/All \ ${LOCALBASE}/bin/pkg_tarup ${PKGNAME}; \ for CATEGORY in ${CATEGORIES}; do \ + ${MKDIR} ${PACKAGES}/$$CATEGORY; \ cd ${PACKAGES}/$$CATEGORY; \ ${RM} -f ${PKGNAME}${PKG_SUFX}; \ ${LN} -s ../All/${PKGNAME}${PKG_SUFX}; \ |