MFH: r377911
- Fix build on FreeBSD 8.x and 9.x Obtained from: FreeBSD Haskell Approved by: portmgr (erwin)
This commit is contained in:
parent
c9cf4ba0cf
commit
ec13d769c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2015Q1/; revision=378102
@ -25,8 +25,10 @@ post-patch::
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
||||
|
||||
.if ${OSVERSION} >= 900000
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/nopatch-wxc.cabal
|
||||
.if ${OSVERSION} >= 1000000
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/nopatch0-wxc.cabal
|
||||
.else
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/nopatch1-wxc.cabal
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
x11-toolkits/hs-wxc/files/nopatch1-wxc.cabal
Normal file
11
x11-toolkits/hs-wxc/files/nopatch1-wxc.cabal
Normal file
@ -0,0 +1,11 @@
|
||||
--- wxc.cabal.orig 2015-01-16 21:06:43 UTC
|
||||
+++ wxc.cabal
|
||||
@@ -161,6 +161,8 @@ library
|
||||
base >= 4 && < 5,
|
||||
wxdirect >= 0.90.1.0
|
||||
|
||||
+ extra-libraries: stdc++
|
||||
+
|
||||
x-dll-sources:
|
||||
src/cpp/apppath.cpp
|
||||
src/cpp/dragimage.cpp
|
Loading…
Reference in New Issue
Block a user