diff options
author | alnsn <alnsn@pkgsrc.org> | 2017-01-30 21:16:34 +0000 |
---|---|---|
committer | alnsn <alnsn@pkgsrc.org> | 2017-01-30 21:16:34 +0000 |
commit | 5c17ab9756549b5d7c419c9b500567bff8f6d674 (patch) | |
tree | 5e127c80ec885de6ecc0ee71d21e16a5772b262e | |
parent | 9603e8a9fdf95219bd7f1ffd04cd5da41d043da7 (diff) | |
download | pkgsrc-5c17ab9756549b5d7c419c9b500567bff8f6d674.tar.gz |
Fix 'make test' target.
-rw-r--r-- | devel/lua-lpeg/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/lua-lpeg/Makefile b/devel/lua-lpeg/Makefile index 31d227be3a1..ab760edec75 100644 --- a/devel/lua-lpeg/Makefile +++ b/devel/lua-lpeg/Makefile @@ -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} |