- Allow users to redefine an update target.

Approved by:	no objections in ports-developers@
This commit is contained in:
Sergey Matveychuk 2009-10-22 13:56:49 +00:00
parent 81bbe6fc43
commit 83490d18dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243216

View File

@ -162,6 +162,7 @@ PORTSNAP_FLAGS?= -p ${.CURDIR}
.if defined(SUPHOST)
SUPFLAGS+= -h ${SUPHOST}
.endif
.if !target(update)
update:
.if defined(SUP_UPDATE) && defined(PORTSSUPFILE)
@echo "--------------------------------------------------------------"
@ -188,3 +189,4 @@ update:
@${PORTSNAP} ${PORTSNAP_FLAGS} update
.endif
.endif
.endif