revert back from using %configure since it fails on ppc
This commit is contained in:
parent
c5b8789b8e
commit
6a740e49cf
10
ghc.spec
10
ghc.spec
@ -80,9 +80,12 @@ echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
||||
%endif
|
||||
|
||||
export HaddockCmd=%{_bindir}/haddock-0.9
|
||||
# workaround ghc configure script hysteria about archs
|
||||
%define _target_platform %{_build}
|
||||
%configure
|
||||
|
||||
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
|
||||
--bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
|
||||
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
|
||||
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
|
||||
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir}
|
||||
|
||||
make %{_smp_mflags}
|
||||
make %{_smp_mflags} -C libraries
|
||||
@ -183,7 +186,6 @@ fi
|
||||
- fix the source urls back
|
||||
- drop requires chkconfig
|
||||
- do not override __spec_install_post
|
||||
- override _target_platform so we can use %%configure
|
||||
- setup docs building in build.mk
|
||||
- no longer need to remove network/include/Typeable.h
|
||||
- install binaries under libdir not libexec
|
||||
|
Loading…
Reference in New Issue
Block a user