Date: Mon, 22 Jun 2015 21:44:39 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390334 - head/Mk Message-ID: <201506222144.t5MLidni026257@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Jun 22 21:44:39 2015 New Revision: 390334 URL: https://svnweb.freebsd.org/changeset/ports/390334 Log: Factorize the fake for convenience targets Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Mon Jun 22 21:39:10 2015 (r390333) +++ head/Mk/bsd.port.mk Mon Jun 22 21:44:39 2015 (r390334) @@ -5254,15 +5254,12 @@ fake-pkg: create-manifest # Depend is generally meaningless for arbitrary ports, but if someone wants # one they can override this. This is just to catch people who've gotten into # the habit of typing `make depend all install' as a matter of course. -# -.if !target(depend) -depend: -.endif - # Same goes for tags -.if !target(tags) -tags: +.for _t in depend tags +.if !target(${_t}) +${_t}: .endif +.endfor .if !defined(NOPRECIOUSMAKEVARS) # These won't change, so we can pass them through the environment
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506222144.t5MLidni026257>