rebuild configure before building

This commit is contained in:
Bryan O'Sullivan 2008-01-07 03:56:08 +00:00
parent 81cf6f48bb
commit 78915b5110

View File

@ -18,7 +18,7 @@
Name: ghc Name: ghc
Version: 6.8.2 Version: 6.8.2
Release: 3%{?dist} Release: 4%{?dist}
Summary: Glasgow Haskell Compilation system Summary: Glasgow Haskell Compilation system
# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713 # See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713
ExcludeArch: alpha ppc64 ExcludeArch: alpha ppc64
@ -29,7 +29,7 @@ Source1: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs
URL: http://haskell.org/ghc/ URL: http://haskell.org/ghc/
Requires: %{ghcver} = %{version}-%{release}, chkconfig Requires: %{ghcver} = %{version}-%{release}, chkconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ghc, happy, sed BuildRequires: autoconf, ghc, happy, sed
BuildRequires: gmp-devel, readline-devel BuildRequires: gmp-devel, readline-devel
BuildRequires: libX11-devel, libXt-devel BuildRequires: libX11-devel, libXt-devel
BuildRequires: freeglut-devel, openal-devel BuildRequires: freeglut-devel, openal-devel
@ -109,6 +109,7 @@ echo "GhcLibWays=" >> mk/build.mk
echo "GhcRTSWays=thr debug" >> mk/build.mk echo "GhcRTSWays=thr debug" >> mk/build.mk
%endif %endif
autoreconf
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \ ./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
--bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \ --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \ --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
@ -222,7 +223,7 @@ fi
%changelog %changelog
* Sun Jan 06 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-3 * Sun Jan 06 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-4
- Fix docdir - Fix docdir
* Tue Dec 12 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-1 * Tue Dec 12 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-1