diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2010-11-04 22:49:20 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-04 22:49:20 +0100 |
commit | 739467b50516cae48e461426d9279ef4eed5989e (patch) | |
tree | 5d60f883d90354dac65a92dde57d9dc1231f7799 /package/ruby/ruby-configure2.patch | |
parent | 96ddeacb6034c3119da6c9de3fd26114ff31e4d1 (diff) |
ruby: fix invalid sed invocation in configure.in
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ruby/ruby-configure2.patch')
-rw-r--r-- | package/ruby/ruby-configure2.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/ruby/ruby-configure2.patch b/package/ruby/ruby-configure2.patch new file mode 100644 index 000000000..405fc41a9 --- /dev/null +++ b/package/ruby/ruby-configure2.patch @@ -0,0 +1,26 @@ +From ac89b1414c84dbc038f623591c738b0637745415 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <gustavo@zacarias.com.ar> +Date: Thu, 4 Nov 2010 18:31:38 -0300 +Subject: [PATCH] Fix bad sed in configure.in + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- + configure.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/configure.in b/configure.in +index e97216f..a978c97 100644 +--- a/configure.in ++++ b/configure.in +@@ -152,7 +152,7 @@ AC_MSG_RESULT([$ARCH_FLAG]) + AC_DEFUN([RUBY_UNIVERSAL_ARCH], [ + # RUBY_UNIVERSAL_ARCH begin + test ${CFLAGS+set} && CFLAGS=`echo "$CFLAGS" | sed -e 's/ *-arch *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g'` +-test ${LDFLAGS+set} && LDFLAGS=`echo "$LDFLAGS" | sed 's/ *-arch *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g'` ++test ${LDFLAGS+set} && LDFLAGS=`echo "$LDFLAGS" | sed -e 's/ *-arch *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g'` + unset ARCH_FLAG universal_binary universal_archnames + if test ${target_archs+set}; then + AC_MSG_CHECKING([target architectures]) +-- +1.7.2.2 + |