aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commit7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch)
treee83ee6693050a76e305a95a376451aa583df151e /x11-toolkits
parenta35ba13770957a577275c3575d979457605f2aff (diff)
downloadports-7ae7b018ccf7760013f368fcb83aad9ecd8982a8.tar.gz
ports-7ae7b018ccf7760013f368fcb83aad9ecd8982a8.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/hs-wxcore/Makefile4
-rw-r--r--x11-toolkits/hs-wxcore/files/patch-Setup.hs20
2 files changed, 13 insertions, 11 deletions
diff --git a/x11-toolkits/hs-wxcore/Makefile b/x11-toolkits/hs-wxcore/Makefile
index 3732f0d3182d..8fcec492fb9a 100644
--- a/x11-toolkits/hs-wxcore/Makefile
+++ b/x11-toolkits/hs-wxcore/Makefile
@@ -9,9 +9,11 @@ COMMENT= wxHaskell core
USE_CABAL= parsec stm wxc>=0.91 wxdirect>=0.91
+USES= dos2unix
+DOS2UNIX_GLOB= *.hs
+
USE_WX= 3.0
WX_COMPS= wx
-WX_UNICODE= yes
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/x11-toolkits/hs-wxcore/files/patch-Setup.hs b/x11-toolkits/hs-wxcore/files/patch-Setup.hs
index a319b4b4fe18..612c88193677 100644
--- a/x11-toolkits/hs-wxcore/files/patch-Setup.hs
+++ b/x11-toolkits/hs-wxcore/files/patch-Setup.hs
@@ -1,10 +1,10 @@
---- ./Setup.hs.orig 2012-04-13 14:40:36.000000000 +0200
-+++ ./Setup.hs 2012-05-13 20:41:08.000000000 +0200
-@@ -66,7 +66,6 @@
-
- let libbi' = libbi
- { extraLibDirs = extraLibDirs libbi ++ [wxcDirectory]
-- , extraLibs = extraLibs libbi ++ ["wxc"]
- , ldOptions = ldOptions libbi ++ ["-Wl,-rpath," ++ wxcDirectory] }
-
- let lib' = lib { libBuildInfo = libbi' }
+--- Setup.hs.orig 2016-06-20 16:11:53 UTC
++++ Setup.hs
+@@ -78,7 +78,6 @@ myConfHook (pkg0, pbi) flags = do
+
+ let libbi' = libbi
+ { extraLibDirs = extraLibDirs libbi ++ [wxcDirectory]
+- , extraLibs = extraLibs libbi ++ ["wxc"]
+ , ldOptions = ldOptions libbi ++ ["-Wl,-rpath," ++ wxcDirectory] }
+
+ let lib' = lib { libBuildInfo = libbi' }