summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-06-13 13:57:10 +0000
committerjlam <jlam@pkgsrc.org>2006-06-13 13:57:10 +0000
commit5f9a3a1b994a26035e9c224cab9d53c4e3e2cc15 (patch)
tree7656a27403d0ad1e916095a0a90dd5532d347f0a
parent45b91b84ac5f6ae8af9f68b2377730ab1a908a38 (diff)
downloadpkgsrc-5f9a3a1b994a26035e9c224cab9d53c4e3e2cc15.tar.gz
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.
-rw-r--r--pkgtools/pkg_install/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 05e803122ed..66bf044a118 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -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 @@ do-extract:
# 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