]> git.pld-linux.org Git - packages/alex.git/commitdiff
- updated to 3.0.5, force ld.bfd
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 May 2013 18:01:11 +0000 (20:01 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 May 2013 18:01:11 +0000 (20:01 +0200)
alex.spec

index b57377d5304e574ea09becd9b15dd6526b4f7cd1..3b7f69cb2f3fff1697a4859483fe94396cd7ec7b 100644 (file)
--- a/alex.spec
+++ b/alex.spec
@@ -5,17 +5,18 @@
 Summary:       A lexical analyser generator for Haskell
 Summary(pl.UTF-8):     Generator analizatorów składniowych dla Haskella
 Name:          alex
-Version:       3.0.1
+Version:       3.0.5
 Release:       1
 License:       BSD-like w/o adv. clause
 Group:         Development/Tools
 Source0:       http://hackage.haskell.org/packages/archive/alex/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 5dec239c89165d159faa2154bc0724cd
+# Source0-md5: 018f9817cd3c094294c8ab83e530c1c8
 URL:           http://haskell.org/alex/
 BuildRequires: autoconf
 BuildRequires: docbook-dtd42-xml
 BuildRequires: docbook-style-xsl
 %{!?with_bootstrap:BuildRequires:      ghc >= 6.6}
+BuildRequires: ghc-QuickCheck >= 2
 BuildRequires: gmp-devel
 %{!?with_bootstrap:BuildRequires:      happy}
 BuildRequires: libxslt-progs
@@ -35,7 +36,14 @@ regularnych. Jest podobne do narzędzi lex lub flex dla C/C++.
 %prep
 %setup -q
 
+# ghc relies on ld.bfd specific options
+mkdir -p ld-dir
+if [ -x /usr/bin/ld.bfd ]; then
+       ln -sf /usr/bin/ld.bfd ld-dir/ld
+fi
+
 %build
+PATH=$(pwd)/ld-dir:$PATH
 %{?with_bootstrap:PATH=$PATH:/usr/local/bin}
 runhaskell Setup.lhs configure --prefix=%{_prefix}
 runhaskell Setup.lhs build
This page took 0.070541 seconds and 4 git commands to generate.