pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-lpeg



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Mon Jan 30 21:16:34 UTC 2017

Modified Files:
        pkgsrc/devel/lua-lpeg: Makefile

Log Message:
Fix 'make test' target.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/lua-lpeg/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/lua-lpeg/Makefile
diff -u pkgsrc/devel/lua-lpeg/Makefile:1.12 pkgsrc/devel/lua-lpeg/Makefile:1.13
--- pkgsrc/devel/lua-lpeg/Makefile:1.12 Tue Jan 24 08:18:48 2017
+++ pkgsrc/devel/lua-lpeg/Makefile      Mon Jan 30 21:16:34 2017
@@ -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 @@ TEST_TARGET= test
 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