Set MODGHC_PACKAGE_KEY and adjust plist.
Also, fix the base dependency in the .cabal file. Upstream infrastructure "fixes" dependencies in some magic database (or whatever) without releasing new releases, so what you see in the .cabal file contained in the distfile is not what you *should* see.
This commit is contained in:
parent
ca89cef1e8
commit
be7507f7e4
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2014/11/22 20:59:42 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2015/09/19 08:09:07 kili Exp $
|
||||
|
||||
COMMENT = library for splitting lists
|
||||
|
||||
# Dependency of meta/haskell-platform.
|
||||
# Please do *not* update without thinking.
|
||||
DISTNAME = split-0.2.2
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
CATEGORIES = devel
|
||||
|
||||
MAINTAINER = Matthias Kilian <kili@openbsd.org>
|
||||
@ -17,4 +17,6 @@ MODULES = lang/ghc
|
||||
|
||||
MODGHC_BUILD = cabal hackage haddock register
|
||||
|
||||
MODGHC_PACKAGE_KEY = E4yadeCDng9EtdbI5MZoDg
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
19
devel/hs-split/patches/patch-split_cabal
Normal file
19
devel/hs-split/patches/patch-split_cabal
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-split_cabal,v 1.1 2015/09/19 08:09:07 kili Exp $
|
||||
|
||||
Hackage infrastructure fuckup: according to
|
||||
http://hackage.haskell.org/package/split, this needs base<4.9, but
|
||||
the included cabal file still is bound to base<4.8. So from now on,
|
||||
you can't rely on .cabal files shipped with distfiles but have to
|
||||
check the web pages manually.
|
||||
|
||||
--- split.cabal.orig Sun Apr 14 20:47:17 2013
|
||||
+++ split.cabal Tue Sep 1 07:42:02 2015
|
||||
@@ -51,7 +51,7 @@ Source-repository head
|
||||
|
||||
Library
|
||||
ghc-options: -Wall
|
||||
- build-depends: base <4.8
|
||||
+ build-depends: base <4.9
|
||||
exposed-modules: Data.List.Split, Data.List.Split.Internals
|
||||
default-language: Haskell2010
|
||||
Hs-source-dirs: src
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2014/11/22 20:59:42 kili Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2015/09/19 08:09:07 kili Exp $
|
||||
lib/ghc/${DISTNAME}/
|
||||
lib/ghc/${DISTNAME}/Data/
|
||||
lib/ghc/${DISTNAME}/Data/List/
|
||||
@ -7,8 +7,9 @@ lib/ghc/${DISTNAME}/Data/List/Split.hi
|
||||
lib/ghc/${DISTNAME}/Data/List/Split.p_hi
|
||||
lib/ghc/${DISTNAME}/Data/List/Split/Internals.hi
|
||||
lib/ghc/${DISTNAME}/Data/List/Split/Internals.p_hi
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}_p.a
|
||||
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
|
||||
lib/ghc/${DISTNAME}/register.sh
|
||||
share/doc/hs-${DISTNAME}/
|
||||
share/doc/hs-${DISTNAME}/LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user