pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install Do previous in another way: simpl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b9b19c2fa21c
branches: trunk
changeset: 460538:b9b19c2fa21c
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Aug 31 11:55:09 2003 +0000
description:
Do previous in another way: simply define PKG_ADMIN to be the command that
we want it to be.
diffstat:
pkgtools/pkg_install/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c269409cd389 -r b9b19c2fa21c pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile Sun Aug 31 11:29:23 2003 +0000
+++ b/pkgtools/pkg_install/Makefile Sun Aug 31 11:55:09 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2003/08/31 11:11:20 jlam Exp $
+# $NetBSD: Makefile,v 1.77 2003/08/31 11:55:09 jlam Exp $
# Notes to package maintainers:
#
@@ -34,6 +34,7 @@
${FILESDIR}/lib/version.h
PKG_DBDIR?= /var/db/pkg
+PKG_ADMIN= ${SETENV} PKG_DBDIR=${PKG_DBDIR} ${PKG_ADMIN_CMD}
.if ${OPSYS} == "NetBSD" && !exists(/usr/share/tmac/tmac.andoc)
PKG_FAIL_REASON+= "You need to have the 'text' set installed to build this package!"
@@ -47,8 +48,7 @@
if [ ! -d ${PKG_DBDIR} ]; then \
${INSTALL_DATA_DIR} ${PKG_DBDIR}; \
fi; \
- ${SETENV} PKG_DBDIR=${PKG_DBDIR} \
- ${PKG_ADMIN_CMD} rebuild; \
+ ${PKG_ADMIN} rebuild; \
fi
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index