devel/hs-cabal-install: Fix producing foreign-libraries on FreeBSD
This commit is contained in:
parent
58c10a22d0
commit
2c0ada23f8
@ -1,7 +1,7 @@
|
||||
PORTNAME= cabal-install
|
||||
PORTVERSION= 3.12.1.0
|
||||
DISTVERSIONPREFIX= ${PORTNAME}-v
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel haskell
|
||||
EXTRACT_ONLY= ${DISTNAME_DEFAULT}${_GITHUB_EXTRACT_SUFX}
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
--- Cabal/src/Distribution/Simple/Configure.hs.orig 2024-06-24 23:58:58 UTC
|
||||
+++ Cabal/src/Distribution/Simple/Configure.hs
|
||||
@@ -2631,6 +2631,7 @@ checkForeignLibSupported comp platform flib = go (comp
|
||||
goGhcPlatform :: Platform -> Maybe String
|
||||
goGhcPlatform (Platform _ OSX) = goGhcOsx (foreignLibType flib)
|
||||
goGhcPlatform (Platform _ Linux) = goGhcLinux (foreignLibType flib)
|
||||
+ goGhcPlatform (Platform _ FreeBSD) = goGhcLinux (foreignLibType flib)
|
||||
goGhcPlatform (Platform I386 Windows) = goGhcWindows (foreignLibType flib)
|
||||
goGhcPlatform (Platform X86_64 Windows) = goGhcWindows (foreignLibType flib)
|
||||
goGhcPlatform _ =
|
||||
Loading…
x
Reference in New Issue
Block a user