pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install INSTALL_SCRIPT_ENV wasn't being d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b55924995da
branches:  trunk
changeset: 502587:1b55924995da
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Nov 07 06:32:58 2005 +0000

description:
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:

 pkgtools/pkg_install/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d2939ee170a8 -r 1b55924995da pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile     Mon Nov 07 04:53:24 2005 +0000
+++ b/pkgtools/pkg_install/Makefile     Mon Nov 07 06:32:58 2005 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index