From owner-svn-ports-head@freebsd.org Thu Aug 16 16:53:39 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A09E106E405; Thu, 16 Aug 2018 16:53:39 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC6948D45B; Thu, 16 Aug 2018 16:53:38 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BE3FD1C2D0; Thu, 16 Aug 2018 16:53:38 +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 w7GGrcEL093462; Thu, 16 Aug 2018 16:53:38 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7GGrc2U093460; Thu, 16 Aug 2018 16:53:38 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201808161653.w7GGrc2U093460@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 16 Aug 2018 16:53:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477366 - head/devel/lua-luarocks X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/devel/lua-luarocks X-SVN-Commit-Revision: 477366 X-SVN-Commit-Repository: ports 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.27 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: Thu, 16 Aug 2018 16:53:39 -0000 Author: jbeich Date: Thu Aug 16 16:53:38 2018 New Revision: 477366 URL: https://svnweb.freebsd.org/changeset/ports/477366 Log: devel/lua-luarocks: allow adjusting system-wide configuration Submitted by: Andrew Gierth (based on) Differential Revision: https://reviews.freebsd.org/D16274 Modified: head/devel/lua-luarocks/Makefile (contents, props changed) head/devel/lua-luarocks/pkg-plist (contents, props changed) Modified: head/devel/lua-luarocks/Makefile ============================================================================== --- head/devel/lua-luarocks/Makefile Thu Aug 16 16:53:27 2018 (r477365) +++ head/devel/lua-luarocks/Makefile Thu Aug 16 16:53:38 2018 (r477366) @@ -39,6 +39,8 @@ post-patch: # Don't install unprefixed binaries to avoid package conflict with # luarocks built against different lang/lua* versions @${REINPLACE_CMD} '/ln -/d' ${WRKSRC}/Makefile.install.inc +# Let @sample manage default config + @${REINPLACE_CMD} '/CONFIG_FILE = /s/$$/.sample/' ${WRKSRC}/Makefile post-build: # NO_ARCH requires https://bugs.archlinux.org/task/40388 Modified: head/devel/lua-luarocks/pkg-plist ============================================================================== --- head/devel/lua-luarocks/pkg-plist Thu Aug 16 16:53:27 2018 (r477365) +++ head/devel/lua-luarocks/pkg-plist Thu Aug 16 16:53:38 2018 (r477366) @@ -1,6 +1,6 @@ bin/luarocks-%%LUA_VER%% bin/luarocks-admin-%%LUA_VER%% -%%ETCDIR%%/config-%%LUA_VER%%.lua +@sample %%ETCDIR%%/config-%%LUA_VER%%.lua.sample %%LUA_MODSHAREDIR%%/luarocks/add.lua %%LUA_MODSHAREDIR%%/luarocks/admin_remove.lua %%LUA_MODSHAREDIR%%/luarocks/build.lua