svn commit: r262964 - stable/10/share/mk
Andrey A. Chernov
ache at FreeBSD.org
Sun Mar 9 23:47:34 UTC 2014
Author: ache
Date: Sun Mar 9 23:47:34 2014
New Revision: 262964
URL: http://svnweb.freebsd.org/changeset/base/262964
Log:
MFC r262689:
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.
Modified:
stable/10/share/mk/bsd.sys.mk
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/share/mk/bsd.sys.mk
==============================================================================
--- stable/10/share/mk/bsd.sys.mk Sun Mar 9 22:38:11 2014 (r262963)
+++ stable/10/share/mk/bsd.sys.mk Sun Mar 9 23:47:34 2014 (r262964)
@@ -151,11 +151,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}
More information about the svn-src-stable
mailing list