haskell-wxc: patch out the attempt to run ldconfig to fix the build
This commit is contained in:
parent
67af48c420
commit
1281a4eb1a
@ -0,0 +1,10 @@
|
|||||||
|
Only in wxc-0.91.0.0: dist
|
||||||
|
diff -ubr wxc-0.91.0.0-orig/Setup.hs wxc-0.91.0.0/Setup.hs
|
||||||
|
--- wxc-0.91.0.0-orig/Setup.hs 2014-10-31 13:30:15.514809137 +0100
|
||||||
|
+++ wxc-0.91.0.0/Setup.hs 2014-10-31 13:33:53.606372005 +0100
|
||||||
|
@@ -507,5 +507,3 @@
|
||||||
|
inst_lib_dir = libdir $ absoluteInstallDirs pkg_descr local_bld_info NoCopyDest
|
||||||
|
|
||||||
|
installOrdinaryFile (verbosity flags) (bld_dir </> lib_name) (inst_lib_dir </> lib_name)
|
||||||
|
- ldconfig inst_lib_dir
|
||||||
|
-
|
@ -9,9 +9,7 @@ cabal.mkDerivation (self: {
|
|||||||
buildDepends = [ wxdirect ];
|
buildDepends = [ wxdirect ];
|
||||||
extraLibraries = [ libX11 mesa wxGTK ];
|
extraLibraries = [ libX11 mesa wxGTK ];
|
||||||
noHaddock = true;
|
noHaddock = true;
|
||||||
postInstall = ''
|
patches = [ ./no-ldconfig.patch ];
|
||||||
cp -v dist/build/libwxc.so.${self.version} $out/lib/libwxc.so
|
|
||||||
'';
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://haskell.org/haskellwiki/WxHaskell";
|
homepage = "http://haskell.org/haskellwiki/WxHaskell";
|
||||||
description = "wxHaskell C++ wrapper";
|
description = "wxHaskell C++ wrapper";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user