pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/lua-lpeg Fix 'make test' target.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6530744e4d97
branches:  trunk
changeset: 357876:6530744e4d97
user:      alnsn <alnsn%pkgsrc.org@localhost>
date:      Mon Jan 30 21:16:34 2017 +0000

description:
Fix 'make test' target.

diffstat:

 devel/lua-lpeg/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 7fad10d192f9 -r 6530744e4d97 devel/lua-lpeg/Makefile
--- a/devel/lua-lpeg/Makefile   Mon Jan 30 19:50:28 2017 +0000
+++ b/devel/lua-lpeg/Makefile   Mon Jan 30 21:16:34 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2017/01/24 08:18:48 alnsn Exp $
+# $NetBSD: Makefile,v 1.13 2017/01/30 21:16:34 alnsn Exp $
 #
 
 DISTNAME=      lpeg-1.0.1
@@ -19,7 +19,11 @@
 BUILD_TARGET.Darwin=   macosx
 BUILD_TARGET.*=                linux
 
-REPLACE_LUA+=  test.lua
+SUBST_CLASSES+=                test
+SUBST_MESSAGE.test=    Fixing shebang in test.lua
+SUBST_STAGE.test=      post-build
+SUBST_FILES.test=      test.lua
+SUBST_SED.test=                -e 's,/usr/bin/env *lua,${LUA_INTERPRETER},'
 
 INSTALLATION_DIRS+=    ${LUA_CDIR} ${LUA_LDIR} ${LUA_DOCDIR}
 



Home | Main Index | Thread Index | Old Index