From 83490d18ddac692e4d009305b8585b9bb2f3dc0f Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Thu, 22 Oct 2009 13:56:49 +0000 Subject: [PATCH] - Allow users to redefine an update target. Approved by: no objections in ports-developers@ --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index d07f3ca4c561..eb3e6443b95c 100644 --- a/Makefile +++ b/Makefile @@ -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