summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-11-07 06:32:58 +0000
committerjlam <jlam@pkgsrc.org>2005-11-07 06:32:58 +0000
commitf2c3651333ea1e92d281a9b57ba2b866337d7c98 (patch)
tree21a013e5cf07e7ab7b4dca69366059862d0ed584 /pkgtools/pkg_install
parent95b07c8ffd1892cd98a1dbf1aa6037df24cf7046 (diff)
downloadpkgsrc-f2c3651333ea1e92d281a9b57ba2b866337d7c98.tar.gz
INSTALL_SCRIPT_ENV wasn't being defined to include a definition for
PKG_PREFIX, which was causing the INSTALL script to fail when run from the post-install-script target.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index f4ce0cb810c..640451ab672 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.118 2005/11/06 22:17:53 jlam Exp $
+# $NetBSD: Makefile,v 1.119 2005/11/07 06:32:58 jlam Exp $
# Notes to package maintainers:
#
@@ -34,6 +34,7 @@ NO_CHECKSUM= yes
NO_MTREE= yes
PKG_PRESERVE= # defined
INSTALL_FILE= ${PKG_DB_TMPDIR}/+INSTALL
+INSTALL_SCRIPTS_ENV+= PKG_PREFIX=${PREFIX}
# These are needed to solve a chicken-and-egg problem where pkgsrc uses
# newer features of pkg_install, but older NetBSD installations won't