packages: ghc/ghc.spec - updated md5sum - removed obsolete patch - added pl...

baggins baggins at pld-linux.org
Thu Apr 8 16:14:56 CEST 2010


Author: baggins                      Date: Thu Apr  8 14:14:56 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated md5sum
- removed obsolete patch
- added pld specific fix

---- Files affected:
packages/ghc:
   ghc.spec (1.103 -> 1.104) 

---- Diffs:

================================================================
Index: packages/ghc/ghc.spec
diff -u packages/ghc/ghc.spec:1.103 packages/ghc/ghc.spec:1.104
--- packages/ghc/ghc.spec:1.103	Thu Apr  8 15:39:59 2010
+++ packages/ghc/ghc.spec	Thu Apr  8 16:14:51 2010
@@ -25,11 +25,11 @@
 # Source0-md5:	3a2b23f29013605f721ebdfc29de9c92
 %if %{with bootstrap}
 Source3:	http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-i386-unknown-linux-n.tar.bz2
-# Source3-md5:	ba9eefecf9753a391d84ffe9f8515e1c
+# Source3-md5:	4beedf446bcd18e1a61177378f2f6b0c
 Source4:	http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-x86_64-unknown-linux-n.tar.bz2
-# Source4-md5:	3521c5a12808811d32f9950fe7a3815c
+# Source4-md5:	d86705cd8abd62b02ee768202713f642
 %endif
-Patch0:		%{name}-cabal-flags.patch
+Patch0:		%{name}-pld.patch
 URL:		http://haskell.org/ghc/
 BuildRequires:	OpenAL-devel
 BuildRequires:	OpenGL-GLU-devel
@@ -121,19 +121,18 @@
 %endif
 mv %{name}-%{version} binsrc
 %endif
-%patch0
-
-# 0.10.1 ghc-pkg -l is not supported
-sed -i -e 's,fp_ghc_pkg_guess" -l,fp_ghc_pkg_guess" list,' configure
+%patch0 -p1
 
 %build
+%{__autoconf}
+
 cat <<'EOF' > mk/build.mk
 #GhcStage1HcOpts += -O0 -Wall
 #GhcStage2HcOpts += -O0 -Wall
 #SRC_HC_OPTS      += -lffi -O0 -H64m
 #GhcHcOpts        += -Rghc-timing
 #GhcLibHcOpts     += -O -dcore-lint -keep-hc-files
-SplitObjs        += NO
+#SplitObjs        += NO
 HADDOCK_DOCS     += %{!?with_doc:NO}%{?with_doc:YES}
 XSLTPROC_OPTS    += --nonet
 EOF
@@ -141,7 +140,11 @@
 %if %{with unregistered}
 # An unregisterised build is one that compiles via vanilla C only
 # http://hackage.haskell.org/trac/ghc/wiki/Building/Unregisterised
-echo GhcUnregisterised=YES >>mk/build.mk
+cat <<'EOF' >> mk/build.mk
+GhcUnregisterised=YES                                                     
+GhcWithNativeCodeGen=NO                                                   
+SplitObjs=NO
+EOF
 %endif
 
 top=$(pwd)
@@ -165,6 +168,7 @@
 %endif
 
 %configure \
+	--target=%{_target_platform} \
 	--prefix=%{_prefix} \
 	--with-gcc="%{__cc}" \
 	--with-curses-includes=/usr/include/ncursesw \
@@ -851,6 +855,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.104  2010/04/08 14:14:51  baggins
+- updated md5sum
+- removed obsolete patch
+- added pld specific fix
+
 Revision 1.103  2010/04/08 13:39:59  baggins
 - up to 6.12.1, extralibs no longer exist
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc/ghc.spec?r1=1.103&r2=1.104&f=u



More information about the pld-cvs-commit mailing list