[Pkg-haskell-commits] r844 - in /packages/haskell-devscripts/trunk: debian/changelog dh_haskell_buildinst

arjan at users.alioth.debian.org arjan at users.alioth.debian.org
Sun Dec 30 18:10:47 UTC 2007


Author: arjan
Date: Sun Dec 30 18:10:47 2007
New Revision: 844

URL: http://svn.debian.org/wsvn/pkg-haskell/?sc=1&rev=844
Log:
[project @ Fix the build of libghc-*-dev packages when no libghc-*-prof packages should be build.]

Original author: Arjan Oosting <arjanoosting at home.nl>
Date: 2007-04-15 15:15:10+00:00

Modified:
    packages/haskell-devscripts/trunk/debian/changelog
    packages/haskell-devscripts/trunk/dh_haskell_buildinst

Modified: packages/haskell-devscripts/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-devscripts/trunk/debian/changelog?rev=844&op=diff
==============================================================================
--- packages/haskell-devscripts/trunk/debian/changelog (original)
+++ packages/haskell-devscripts/trunk/debian/changelog Sun Dec 30 18:10:47 2007
@@ -1,3 +1,11 @@
+haskell-devscripts (0.5.15) unstable; urgency=high
+
+  * Set urgency high as the upload fixes an RC bug.
+  * Fix the build of libghc-*-dev packages when no libghc-*-prof packages
+    should be build. (Closes: #399127)
+
+ -- Arjan Oosting <arjan at debian.org>  Sat, 18 Nov 2006 10:19:04 +0100
+
 haskell-devscripts (0.5.14) unstable; urgency=medium
   
   * Set urgency to medium to get fixed version into etch.

Modified: packages/haskell-devscripts/trunk/dh_haskell_buildinst
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-devscripts/trunk/dh_haskell_buildinst?rev=844&op=diff
==============================================================================
--- packages/haskell-devscripts/trunk/dh_haskell_buildinst (original)
+++ packages/haskell-devscripts/trunk/dh_haskell_buildinst Sun Dec 30 18:10:47 2007
@@ -21,11 +21,11 @@
 
 for p in `dh_listpackages "$OPTIONS"` ; do
     profiled=`echo $p | sed "s/\(libghc6-.*\)-dev/\1-prof/"`
-    if [ $p = $profiled ] ; then
+    if [ $p != $profiled ] && dh_listpackages -s | grep -e $profiled ; then
+	dh_haskell_build --package=$p --package=$profiled $FILTERED_OPTIONS
+	dh_haskell_install --package=$p --package=$profiled $FILTERED_OPTIONS
+    else
 	dh_haskell_build --package=$p $FILTERED_OPTIONS
 	dh_haskell_install --package=$p $FILTERED_OPTIONS
-    else
-	dh_haskell_build --package=$p --package=$profiled $FILTERED_OPTIONS
-	dh_haskell_install --package=$p --package=$profiled $FILTERED_OPTIONS
     fi
 done




More information about the Pkg-haskell-commits mailing list