svn commit: r477366 - head/devel/lua-luarocks
Jan Beich
jbeich at FreeBSD.org
Thu Aug 16 16:53:39 UTC 2018
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
+ at sample %%ETCDIR%%/config-%%LUA_VER%%.lua.sample
%%LUA_MODSHAREDIR%%/luarocks/add.lua
%%LUA_MODSHAREDIR%%/luarocks/admin_remove.lua
%%LUA_MODSHAREDIR%%/luarocks/build.lua
More information about the svn-ports-head
mailing list