1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Re-work the way pre-install was being depended. I couldn't make the

install cookie work any other way (perhaps I'm just being stupid).
In any case, INSTALL_COOKIE now works as advertised, and prevents duplicate
installations.  pre-install users will have to keep their own cookies if
they wish to avoid duplicate installations, or tell me how to make the
rules run properly.
This commit is contained in:
Jordan K. Hubbard 1994-10-12 23:32:32 +00:00
parent ff5e779d28
commit 97141f4264
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223

View File

@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
# $Id: bsd.port.mk,v 1.51 1994/10/12 03:12:19 ache Exp $
# $Id: bsd.port.mk,v 1.52 1994/10/12 03:25:59 ache Exp $
#
# Please view me with 4 column tabs!
@ -192,9 +192,9 @@ pre-install:
.endif
.if !target(install)
install: ${INSTALL_COOKIE}
install: pre-install ${INSTALL_COOKIE}
${INSTALL_COOKIE}: pre-install
${INSTALL_COOKIE}:
@echo "===> Installing for ${DISTNAME}"
.if defined(USE_GMAKE)
@(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} install)