diff options
Diffstat (limited to 'source-builder/config/autoconf-2-1.cfg')
-rw-r--r-- | source-builder/config/autoconf-2-1.cfg | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/source-builder/config/autoconf-2-1.cfg b/source-builder/config/autoconf-2-1.cfg index 51e683d..48fd542 100644 --- a/source-builder/config/autoconf-2-1.cfg +++ b/source-builder/config/autoconf-2-1.cfg @@ -31,16 +31,14 @@ VersionControl0: git clone git://git.sv.gnu.org/autoconf cd .. %build - if test "%{_internal_autotools}" == "yes"; then - export PATH="%{_bindir}:${PATH}" - else - export PATH=$SB_ORIG_PATH - fi + %if %{defined _internal_autotools_path} + export PATH="%{_internal_autotools_path}/bin:${PATH}" + %endif cd autoconf-%{autoconf_version} if test "%{_internal_autotools}" == "yes"; then - ac_prefix=$SB_TMPPREFIX + ac_prefix=%{_internal_autotools_path} else ac_prefix=%{_prefix} fi @@ -65,11 +63,11 @@ VersionControl0: git clone git://git.sv.gnu.org/autoconf %install export PATH="%{_bindir}:${PATH}" - rm -rf $SB_BUILD_ROOT + %{__rmdir} $SB_BUILD_ROOT cd autoconf-%{autoconf_version} - if "%{_internal_autotools}" == "yes"; then + if test "%{_internal_autotools}" == "yes"; then %{__make} install else %{__make} DESTDIR=$SB_BUILD_ROOT install |