diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-31 11:55:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-31 11:55:09 +0000 |
commit | 5a413755acacdda04a9208b47863873d50dae456 (patch) | |
tree | db2511d78fd33d4a88bcfb8d2c41b9b80de25ffd /pkgtools/pkg_install/Makefile | |
parent | abb173d016b0ed016a7d7c99c5315564d2f7df4d (diff) | |
download | pkgsrc-5a413755acacdda04a9208b47863873d50dae456.tar.gz |
Do previous in another way: simply define PKG_ADMIN to be the command that
we want it to be.
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index 5a9f1a9751d..a315ed7b584 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -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 @@ VERSION!= ${AWK} -F '"' '/PKGTOOLS_VERSION/ {print $$2}' \ ${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 @@ post-install: 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" |