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.
This commit is contained in:
jlam 2006-06-13 13:57:10 +00:00
parent 45b91b84ac
commit 5f9a3a1b99

View file

@ -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