summaryrefslogtreecommitdiff
path: root/pkgtools
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
commiteff9134942cefe13e6c9063ce0f053bdc78282da (patch)
tree21a013e5cf07e7ab7b4dca69366059862d0ed584 /pkgtools
parentd71ed90b451cb77d6eb05d0d7505235cde69de60 (diff)
downloadpkgsrc-eff9134942cefe13e6c9063ce0f053bdc78282da.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')
-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