Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37839700
en ru br
Репозитории ALT
5.1: 3.2.0.7-alt0.M51.1
4.1: 3.0.0.10-alt1.M41.1
4.0: 2.4.1.7-alt0.M40.1
3.0: 1.1.5-alt1
www.altlinux.org/Changes

Группа :: Офис
Пакет: openoffice.org

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

Патч: openoffice.org-3.0.0-alt-env-i-ant.patch
Скачать


--- ooo300-m5/config_office/configure.in.ant	2008-09-10 14:39:44 +0400
+++ ooo300-m5/config_office/configure.in	2008-09-10 16:01:41 +0400
@@ -6242,7 +6242,7 @@
   ant_minminor1=`echo $ant_minver | cut -d"." -f2`
 
   AC_MSG_CHECKING([whether ant is >= $ant_minver])
-  ant_version=`$ANT -version | $AWK '{ print $4; }'`
+  ant_version=`env -i $ANT -version | $AWK '{ print $4; }'`
   ant_version_major=`echo $ant_version | cut -d. -f1`
   ant_version_minor=`echo $ant_version | cut -d. -f2`
 echo "configure: ant_version $ant_version " >&5
@@ -6252,6 +6252,7 @@
   	AC_MSG_RESULT([yes, $ant_version])
   elif test "$ant_version_major" = "1" && test "$ant_version_minor" -ge "$ant_minminor1"; then
   	AC_MSG_RESULT([yes, $ant_version])
+  	ANT="env -i $ANT"
   else
   	AC_MSG_ERROR([no, you need at least ant >= $ant_minver])
   fi
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin