diff options
author | fhajny <fhajny> | 2014-04-23 14:47:43 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2014-04-23 14:47:43 +0000 |
commit | 737caa94a4208eeb67cc6b2258aa239836b93fe1 (patch) | |
tree | 11eb1e7e866a5739d3676ddc01d533d76340dcb1 /devel/lua-posix | |
parent | fc2d2b0f7f3241f323bde35debd7931e2223006e (diff) | |
download | pkgsrc-737caa94a4208eeb67cc6b2258aa239836b93fe1.tar.gz |
Replace 'grep -o' calls with a portable sed call in configure.
Diffstat (limited to 'devel/lua-posix')
-rw-r--r-- | devel/lua-posix/distinfo | 4 | ||||
-rw-r--r-- | devel/lua-posix/patches/patch-configure | 40 |
2 files changed, 41 insertions, 3 deletions
diff --git a/devel/lua-posix/distinfo b/devel/lua-posix/distinfo index db97daa7c00..911c657a1ba 100644 --- a/devel/lua-posix/distinfo +++ b/devel/lua-posix/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.2 2013/09/17 16:23:54 ryoon Exp $ +$NetBSD: distinfo,v 1.3 2014/04/23 14:47:43 fhajny Exp $ SHA1 (luaposix-release-v31.tar.gz) = 8cce36b34f7b1742b14e989f26f021e14053a6dd RMD160 (luaposix-release-v31.tar.gz) = 4a3f893f34a96570627a3840ac99a8088e230b82 Size (luaposix-release-v31.tar.gz) = 528979 bytes SHA1 (patch-config.h.in) = 37315685228cddfd6972c2d65684fdcfcf7407eb -SHA1 (patch-configure) = 82e396c05fc2973181eb49b68ebdc0caf2c36d74 +SHA1 (patch-configure) = 4aa876d026793424eaf1d700012ae366cbc6d111 SHA1 (patch-configure.ac) = ef891429af91c5e220bcd04e8b9a94e12a538cc3 SHA1 (patch-ext_curses_curses.c) = fd06c59d4d4f8f69eed4233a995841496e786d32 SHA1 (patch-ext_posix_posix.c) = f2ec88b0be842af327c13c0898de1bfe0d165477 diff --git a/devel/lua-posix/patches/patch-configure b/devel/lua-posix/patches/patch-configure index b2e649596d1..9a338e608cc 100644 --- a/devel/lua-posix/patches/patch-configure +++ b/devel/lua-posix/patches/patch-configure @@ -1,4 +1,4 @@ -$NetBSD: patch-configure,v 1.1 2013/09/14 09:06:48 ryoon Exp $ +$NetBSD: patch-configure,v 1.2 2014/04/23 14:47:43 fhajny Exp $ --- configure.orig 2013-09-09 07:15:14.000000000 +0000 +++ configure @@ -93,3 +93,41 @@ $NetBSD: patch-configure,v 1.1 2013/09/14 09:06:48 ryoon Exp $ if test Darwin != `uname`; then # FIXME: Make -lrt conditional on _XOPEN_REALTIME POSIX_EXTRA_CFLAGS=-D_XOPEN_SOURCE=700 +@@ -13690,7 +13758,7 @@ fi + $as_echo_n "checking $_ax_check_text... " >&6; } + + _ax_test_ver=`$LUA -e "print(_VERSION)" 2>/dev/null | \ +- sed "s|^Lua \(.*\)|\1|" | grep -o "^[0-9]\+\\.[0-9]\+"` ++ sed "s|^Lua \([0-9]*\.[0-9]*\)|\1|"` + if test "x$_ax_test_ver" = 'x'; then : + _ax_test_ver='0' + fi +@@ -13796,7 +13864,7 @@ fi + + + _ax_test_ver=`$ax_cv_pathless_LUA -e "print(_VERSION)" 2>/dev/null | \ +- sed "s|^Lua \(.*\)|\1|" | grep -o "^[0-9]\+\\.[0-9]\+"` ++ sed "s|^Lua \([0-9]*\.[0-9]*\)|\1|"` + if test "x$_ax_test_ver" = 'x'; then : + _ax_test_ver='0' + fi +@@ -13941,8 +14009,7 @@ if ${ax_cv_lua_version+:} false; then : + $as_echo_n "(cached) " >&6 + else + ax_cv_lua_version=`$LUA -e "print(_VERSION)" | \ +- sed "s|^Lua \(.*\)|\1|" | \ +- grep -o "^[0-9]\+\\.[0-9]\+"` ++ sed "s|^Lua \([0-9]*\.[0-9]*\)|\1|"` + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lua_version" >&5 +@@ -14181,8 +14248,7 @@ int main(int argc, char ** argv) + _ACEOF + if ac_fn_c_try_run "$LINENO"; then : + ax_cv_lua_header_version=`./conftest$EXEEXT p | \ +- sed "s|^Lua \(.*\)|\1|" | \ +- grep -o "^[0-9]\+\\.[0-9]\+"` ++ sed "s|^Lua \([0-9]*\.[0-9]*\)|\1|"` + + else + ax_cv_lua_header_version='unknown' |