From 6a740e49cf788f5855c2922ae28a1930fa9d9fcd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Sep 2008 08:03:22 +0000 Subject: [PATCH] revert back from using %configure since it fails on ppc --- ghc.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ghc.spec b/ghc.spec index 4d5886b..8c5070b 100644 --- a/ghc.spec +++ b/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