summaryrefslogtreecommitdiff
path: root/mk/flavor
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2006-07-17 18:18:42 +0000
committergdt <gdt@pkgsrc.org>2006-07-17 18:18:42 +0000
commitcd807f496b27385e2b79f5dfe9d08de0da2bf2b7 (patch)
tree5dfa65bc957eeaad689ef8b68a7b53b3be0d3df2 /mk/flavor
parenta27173b4504885497dc0def69fc0dae97015ba1b (diff)
downloadpkgsrc-cd807f496b27385e2b79f5dfe9d08de0da2bf2b7.tar.gz
During 'make replace', use pkg_admin to set the unsafe_depends
variable to YES for each pacakge that depends on the replaced package. Discussed on tech-pkg with generally positive comments.
Diffstat (limited to 'mk/flavor')
-rw-r--r--mk/flavor/pkg/replace.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/flavor/pkg/replace.mk b/mk/flavor/pkg/replace.mk
index 2cf660ba90d..ae3380b503f 100644
--- a/mk/flavor/pkg/replace.mk
+++ b/mk/flavor/pkg/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.4 2006/07/07 21:24:28 jlam Exp $
+# $NetBSD: replace.mk,v 1.5 2006/07/17 18:18:42 gdt Exp $
######################################################################
### replace-pkg (PRIVATE, pkgsrc/mk/install/replace.mk)
@@ -150,6 +150,7 @@ replace-fixup-required-by:
{ print }' \
$$contents > $$newcontents; \
${MV} -f $$newcontents $$contents; \
+ ${PKG_ADMIN} set unsafe_depends=YES $$pkg; \
done
######################################################################