pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install This package overrides the "updat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/149218785a85
branches:  trunk
changeset: 514504:149218785a85
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jun 13 13:57:10 2006 +0000

description:
This package overrides the "update" target (is that wise?) and runs
its own set of commands.  One of these invoked "deinstall" with
UPDATE_RUNNING set to "YES"; however, UPDATE_RUNNING was made into a
pkgsrc private variable a little while ago.  Fix "update" by setting
_UPDATE_RUNNING instead.  This fixes PR pkg/33716.

diffstat:

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

diffs (18 lines):

diff -r bb91cd123def -r 149218785a85 pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile     Tue Jun 13 13:53:21 2006 +0000
+++ b/pkgtools/pkg_install/Makefile     Tue Jun 13 13:57:10 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.126 2006/06/09 16:12:08 jlam Exp $
+# $NetBSD: Makefile,v 1.127 2006/06/13 13:57:10 jlam Exp $
 
 # Notes to package maintainers:
 #
@@ -95,7 +95,7 @@
 # XXX This should probably be the default order for all packages.
 update:
        ${MAKE}
-       ${MAKE} deinstall UPDATE_RUNNING=YES
+       ${MAKE} deinstall _UPDATE_RUNNING=YES
        ${MAKE} ${UPDATE_TARGET}
        ${MAKE} clean
 



Home | Main Index | Thread Index | Old Index