Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2015 05:01:45 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403181 - head/x11-wm/dwm
Message-ID:  <201512070501.tB751jcR099825@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Dec  7 05:01:45 2015
New Revision: 403181
URL: https://svnweb.freebsd.org/changeset/ports/403181

Log:
  x11-wm/dwm: make DWM_CONF use symlink
  
  Avoid config.h and DWM_CONF being out of sync. In case of update while
  trying fix a build failure one may want to do |make clean| after
  replacing a third-party patch in Makefile.local or files/ directory.
  
  PR:		204658
  Approved by:	maintainer timeout (18 days)

Modified:
  head/x11-wm/dwm/Makefile   (contents, props changed)

Modified: head/x11-wm/dwm/Makefile
==============================================================================
--- head/x11-wm/dwm/Makefile	Mon Dec  7 05:00:57 2015	(r403180)
+++ head/x11-wm/dwm/Makefile	Mon Dec  7 05:01:45 2015	(r403181)
@@ -37,8 +37,8 @@ pre-everything::
 
 post-extract:
 	@if [ -e "${DWM_CONF}" ]; then \
-		${ECHO_MSG} "creating config.h from ${DWM_CONF}"; \
-		${CP} "${DWM_CONF}" ${WRKSRC}/config.h; \
+		${ECHO_MSG} "Creating symlink: config.h -> ${DWM_CONF}"; \
+		${LN} -fs "${DWM_CONF}" ${WRKSRC}/config.h; \
 	fi
 
 post-install:



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