[42462] trunk/dports/devel/alex

gwright at macports.org gwright at macports.org
Fri Nov 21 11:08:15 PST 2008


Revision: 42462
          http://trac.macports.org/changeset/42462
Author:   gwright at macports.org
Date:     2008-11-21 11:08:14 -0800 (Fri, 21 Nov 2008)
Log Message:
-----------
Update to version 2.3 and fix a bug that prevented building with ghc 6.10.1.

Modified Paths:
--------------
    trunk/dports/devel/alex/Portfile

Added Paths:
-----------
    trunk/dports/devel/alex/files/
    trunk/dports/devel/alex/files/patch-alex.cabal.diff

Modified: trunk/dports/devel/alex/Portfile
===================================================================
--- trunk/dports/devel/alex/Portfile	2008-11-21 19:05:57 UTC (rev 42461)
+++ trunk/dports/devel/alex/Portfile	2008-11-21 19:08:14 UTC (rev 42462)
@@ -2,8 +2,7 @@
 
 PortSystem 1.0
 name		alex
-version		2.2
-revision	1
+version		2.3
 categories	devel haskell
 maintainers	gwright
 platforms	darwin
@@ -15,14 +14,16 @@
 		It is similar to the tools lex or flex for C/C++.       
 
 homepage	http://www.haskell.org/alex/
-master_sites	http://www.haskell.org/alex/dist/${version}
+master_sites	http://hackage.haskell.org/packages/archive/${name}/${version}
 
-checksums	md5     7ef62b2dd2ee7ed7b2a5ca3bfb568347		\
-		sha1    a08670e4c749850714205f425cb460ed5a0a56b2	\
-		rmd160  d93c28ce0121073be1ee4893114b36faa2396b1b
+checksums       md5     d50ac9433ed299d2cea8ca9aebaf1660		\
+                sha1    d97d7b61dfc7d7d9bcec843b95ebfe7f73cd2701	\
+                rmd160  0f2d3cfeb3126abc6dda0db75125b88eec0c9e60
 
 depends_build	port:ghc
 
+patchfiles	patch-alex.cabal.diff
+
 configure       {
                   system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix}"
                 }

Added: trunk/dports/devel/alex/files/patch-alex.cabal.diff
===================================================================
--- trunk/dports/devel/alex/files/patch-alex.cabal.diff	                        (rev 0)
+++ trunk/dports/devel/alex/files/patch-alex.cabal.diff	2008-11-21 19:08:14 UTC (rev 42462)
@@ -0,0 +1,14 @@
+--- alex.cabal.sav	2008-11-21 14:05:49.000000000 -0500
++++ alex.cabal	2008-11-21 14:06:15.000000000 -0500
+@@ -59,9 +59,9 @@
+   main-is: Main.hs
+ 
+   if flag(small_base)
+-    build-depends: base >= 2.1, array, containers, directory
++    build-depends: base >= 2.1, base < 4, array, containers, directory
+   else
+-    build-depends: base >= 1.0
++    build-depends: base >= 1.0, base < 4
+ 
+   build-depends: haskell98 >= 1.0
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081121/4656f919/attachment.html>


More information about the macports-changes mailing list