Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 07:29:08 +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: r334392 - head/Mk/Uses
Message-ID:  <201311200729.rAK7T8kg085533@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Nov 20 07:29:08 2013
New Revision: 334392
URL: http://svnweb.freebsd.org/changeset/ports/334392

Log:
  Mark some targets .PHONY

Modified:
  head/Mk/Uses/charsetfix.mk
  head/Mk/Uses/desktop-file-utils.mk
  head/Mk/Uses/display.mk
  head/Mk/Uses/dos2unix.mk
  head/Mk/Uses/kmod.mk
  head/Mk/Uses/pathfix.mk
  head/Mk/Uses/shared-mime-info.mk
  head/Mk/Uses/shebangfix.mk
  head/Mk/Uses/webplugin.mk

Modified: head/Mk/Uses/charsetfix.mk
==============================================================================
--- head/Mk/Uses/charsetfix.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/charsetfix.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -18,6 +18,7 @@ IGNORE=	USES=charsetfix does not require
 
 CHARSETFIX_MAKEFILEIN?=	Makefile.in
 
+.PHONY: charsetfix-post-patch
 post-patch: charsetfix-post-patch
 
 charsetfix-post-patch:

Modified: head/Mk/Uses/desktop-file-utils.mk
==============================================================================
--- head/Mk/Uses/desktop-file-utils.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/desktop-file-utils.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -20,6 +20,7 @@ BUILD_DEPENDS+=	update-desktop-database:
 RUN_DEPENDS+=	update-desktop-database:${PORTSDIR}/devel/desktop-file-utils
 
 # bolt our post-install target to post-install
+.PHONY: desktop-file-post-install
 post-install: desktop-file-post-install
 
 desktop-file-post-install:

Modified: head/Mk/Uses/display.mk
==============================================================================
--- head/Mk/Uses/display.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/display.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -25,6 +25,7 @@ XVFBPORT!=	port=0; while test -S /tmp/.X
 XVFBPIDFILE=	/tmp/.xvfb-${XVFBPORT}.pid
 MAKE_ENV+=	DISPLAY=":${XVFBPORT}"
 
+.PHONY: start-display stop-display
 pre-${display_ARGS}: start-display
 
 post-${display_ARGS}: stop-display

Modified: head/Mk/Uses/dos2unix.mk
==============================================================================
--- head/Mk/Uses/dos2unix.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/dos2unix.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -15,6 +15,7 @@ _INCLUDE_USES_DOS2UNIX_MK=	yes
 _DOS2UNIX_ALL=	yes
 .endif
 
+.PHONY: dos2unix
 pre-patch: dos2unix
 
 dos2unix:

Modified: head/Mk/Uses/kmod.mk
==============================================================================
--- head/Mk/Uses/kmod.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/kmod.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -33,6 +33,7 @@ MAKE_ENV+=	KMODDIR="${KMODDIR}" SYSDIR="
 MAKE_ENV+=	NO_XREF=yes
 .endif
 
+.PHONY: kmod-preinstall kmod-post-install
 pre-install: kmod-pre-install
 kmod-pre-install:
 .if defined(NO_STAGE)

Modified: head/Mk/Uses/pathfix.mk
==============================================================================
--- head/Mk/Uses/pathfix.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/pathfix.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -19,6 +19,7 @@ IGNORE=	USES=pathfix does not require ar
 
 PATHFIX_MAKEFILEIN?=	Makefile.in
 
+.PHONY: pathfix-pre-patch
 pre-patch: pathfix-pre-patch
 
 pathfix-pre-patch:

Modified: head/Mk/Uses/shared-mime-info.mk
==============================================================================
--- head/Mk/Uses/shared-mime-info.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/shared-mime-info.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -20,6 +20,7 @@ BUILD_DEPENDS+=	update-mime-database:${P
 RUN_DEPENDS+=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
 
 # bolt our post-install target to post-install
+.PHONY: shared-mime-post-install
 post-install: shared-mime-post-install
 
 shared-mime-post-install:

Modified: head/Mk/Uses/shebangfix.mk
==============================================================================
--- head/Mk/Uses/shebangfix.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/shebangfix.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -48,6 +48,7 @@ IGNORE+=	missing definition for ${lang}_
 _SHEBANG_REINPLACE_ARGS+=	-e "1s|^\#![[:space:]]*${${lang}_OLD_CMD}|\#!${${lang}_CMD}|"
 .endfor
 
+.PHONY: fix-shebang
 pre-patch: fix-shebang
 
 fix-shebang:

Modified: head/Mk/Uses/webplugin.mk
==============================================================================
--- head/Mk/Uses/webplugin.mk	Wed Nov 20 07:21:49 2013	(r334391)
+++ head/Mk/Uses/webplugin.mk	Wed Nov 20 07:29:08 2013	(r334392)
@@ -166,6 +166,7 @@ WEBPLUGIN_DIR?=		${_WEBPLUGIN_LIBDIR:S,^
 
 PLIST_SUB+=		WEBPLUGIN_DIR="${WEBPLUGIN_DIR:S,^${PREFIX}/,,}"
 
+.PHONY: webplugin-post-install
 webplugin-post-install:
 	@${ECHO_CMD} "@cwd ${LOCALBASE}" >> ${TMPPLIST}
 .for d in ${_WEBPLUGIN_LINKFARMS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311200729.rAK7T8kg085533>