Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1618094
 поиск   регистрация   авторизация 
 
Группа :: Разработка/ML
Пакет: ocamldsort

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: ocamldsort-0.14.3-alt-sed.patch


--- configure.in.orig	2006-12-23 04:57:05 +0300
+++ configure.in	2006-12-23 05:02:24 +0300
@@ -108,8 +108,7 @@
 AC_PATH_PROG(OCAMLCDOTOPT,ocamlc.opt,no)
 if test "$OCAMLCDOTOPT" != no ; then
         AC_MSG_CHECKING(ocamlc.opt version)
-        TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version*
-*\(.*\)$|\1|p' `
+        TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
         if test "$TMPVERSION" != "$OCAMLVERSION" ; then
             AC_MSG_RESULT(differs from ocamlc; ocamlc.opt discarded.)
         else
@@ -123,8 +122,7 @@
     AC_PATH_PROG(OCAMLOPTDOTOPT,ocamlopt.opt,no)
     if test "$OCAMLOPTDOTOPT" != no ; then
         AC_MSG_CHECKING(ocamlc.opt version)
-        TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version*
-*\(.*\)$|\1|p' `
+        TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
         if test "$TMPVER" != "$OCAMLVERSION" ; then
             AC_MSG_RESULT(differs from ocamlc; ocamlopt.opt discarded.)
         else
--- configure.orig	2006-12-23 04:57:05 +0300
+++ configure	2006-12-23 05:03:03 +0300
@@ -1587,8 +1587,7 @@
 if test "$OCAMLCDOTOPT" != no ; then
         echo "$as_me:$LINENO: checking ocamlc.opt version" >&5
 echo $ECHO_N "checking ocamlc.opt version... $ECHO_C" >&6
-        TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version*
-*\(.*\)$|\1|p' `
+        TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
         if test "$TMPVERSION" != "$OCAMLVERSION" ; then
             echo "$as_me:$LINENO: result: differs from ocamlc; ocamlc.opt discarded." >&5
 echo "${ECHO_T}differs from ocamlc; ocamlc.opt discarded." >&6
@@ -1644,8 +1643,7 @@
     if test "$OCAMLOPTDOTOPT" != no ; then
         echo "$as_me:$LINENO: checking ocamlc.opt version" >&5
 echo $ECHO_N "checking ocamlc.opt version... $ECHO_C" >&6
-        TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version*
-*\(.*\)$|\1|p' `
+        TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
         if test "$TMPVER" != "$OCAMLVERSION" ; then
             echo "$as_me:$LINENO: result: differs from ocamlc; ocamlopt.opt discarded." >&5
 echo "${ECHO_T}differs from ocamlc; ocamlopt.opt discarded." >&6
 
design & coding: Vladimir Lettiev aka crux © 2004-2005