summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-07-19 22:57:31 +0000
committerhubertf <hubertf@pkgsrc.org>2000-07-19 22:57:31 +0000
commit333fc62f6400dffd58e615f9530ec88dfee44872 (patch)
treea767c675f275b07d263293f6be2b0c0571170921 /mk
parent8b6674701128bede2ea8839e1de71a4ce1dca9b8 (diff)
downloadpkgsrc-333fc62f6400dffd58e615f9530ec88dfee44872.tar.gz
Use "reinstall" as default for DEPENDS_TARGET, to use any pkg already
built and possible deinstalled as dependency. Addresses PR 10629 by Erich.T.Enke@wheaton.edu. (If that's not enough, we can still introduce a "make clean ; make install"- type target, but for now i'd prefer not to was the cycles)
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index d603c777f5e..6bbc9869912 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.510 2000/07/19 00:08:32 rh Exp $
+# $NetBSD: bsd.pkg.mk,v 1.511 2000/07/19 22:57:31 hubertf Exp $
#
# This file is in the public domain.
#
@@ -995,12 +995,10 @@ all: build
.endif
.if !defined(DEPENDS_TARGET)
-.if make(reinstall)
-DEPENDS_TARGET= reinstall
-.elif make(package)
+.if make(package)
DEPENDS_TARGET= package
.else
-DEPENDS_TARGET= install
+DEPENDS_TARGET= reinstall
.endif
.endif