Accepting request 517341 from home:dimstar:Factory
- Fix build with the new lua package layout by specifying --extra-include-dirs based on lua.pc. OBS-URL: https://build.opensuse.org/request/show/517341 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=22
This commit is contained in:
parent
365d80578c
commit
8a5426037c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 17 09:35:36 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Fix build with the new lua package layout by specifying
|
||||
--extra-include-dirs based on lua.pc.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
|
||||
|
||||
|
@ -24,7 +24,7 @@ Release: 0
|
||||
Summary: A Lua language interpreter embedding in Haskell
|
||||
License: MIT
|
||||
Group: Development/Languages/Haskell
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
@ -64,7 +64,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
%build
|
||||
%define cabal_configure_options -fsystem-lua
|
||||
%define cabal_configure_options -fsystem-lua --extra-include-dirs=$(pkg-config --variable=includedir lua)
|
||||
%ghc_lib_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user