mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Add fetch and patch to .PHONY and .NOTMAIN only if PORTNAME is defined.
Unconditional addition cause real fetch(1) and patch(1) programs are builded every time. MFC after: 1 week
This commit is contained in:
parent
73f0a83d68
commit
c34a97a05d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262689
@ -155,11 +155,15 @@ CFLAGS+= ${CWARNFLAGS}
|
||||
PHONY_NOTMAIN = afterdepend afterinstall all beforedepend beforeinstall \
|
||||
beforelinking build build-tools buildfiles buildincludes \
|
||||
checkdpadd clean cleandepend cleandir cleanobj configure \
|
||||
depend dependall distclean distribute exe extract fetch \
|
||||
depend dependall distclean distribute exe extract \
|
||||
html includes install installfiles installincludes lint \
|
||||
obj objlink objs objwarn patch realall realdepend \
|
||||
obj objlink objs objwarn realall realdepend \
|
||||
realinstall regress subdir-all subdir-depend subdir-install \
|
||||
tags whereobj
|
||||
|
||||
.if defined(PORTNAME)
|
||||
PHONY_NOTMAIN+= fetch patch
|
||||
.endif
|
||||
|
||||
.PHONY: ${PHONY_NOTMAIN}
|
||||
.NOTMAIN: ${PHONY_NOTMAIN}
|
||||
|
Loading…
Reference in New Issue
Block a user