Date: Sun, 2 Mar 2014 13:12:07 +0000 (UTC) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262689 - head/share/mk Message-ID: <201403021312.s22DC7PG078302@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ache Date: Sun Mar 2 13:12:06 2014 New Revision: 262689 URL: http://svnweb.freebsd.org/changeset/base/262689 Log: 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 Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk/bsd.sys.mk ============================================================================== --- head/share/mk/bsd.sys.mk Sun Mar 2 12:15:26 2014 (r262688) +++ head/share/mk/bsd.sys.mk Sun Mar 2 13:12:06 2014 (r262689) @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403021312.s22DC7PG078302>