From owner-svn-ports-head@freebsd.org Mon Dec 7 05:01:46 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E65F89A0C0C; Mon, 7 Dec 2015 05:01:46 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3EC717A5; Mon, 7 Dec 2015 05:01:46 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB751jBx099826; Mon, 7 Dec 2015 05:01:45 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB751jcR099825; Mon, 7 Dec 2015 05:01:45 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201512070501.tB751jcR099825@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 7 Dec 2015 05:01:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403181 - head/x11-wm/dwm X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 05:01:47 -0000 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: