summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-12-07 05:01:45 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-12-07 05:01:45 +0000
commit2b605b7e056e841b72437beb224c108348ac3c4c (patch)
treec0dad79d487ad2db112b803b8487e7a6113b3b73 /x11-wm
parentx11-wm/dwm: simplify patching (diff)
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)
Notes
Notes: svn path=/head/; revision=403181
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/dwm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-wm/dwm/Makefile b/x11-wm/dwm/Makefile
index 3c9a6c996114..5128b6244e11 100644
--- a/x11-wm/dwm/Makefile
+++ b/x11-wm/dwm/Makefile
@@ -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: