Set MODGHC_PACKAGE_KEY and adjust plist.
Allow it to build with hs-vector-0.11.*.
This commit is contained in:
parent
d4d863ea43
commit
75a9b12e28
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2015/04/27 07:30:06 dcoppa Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2015/09/24 20:10:29 kili Exp $
|
||||
|
||||
COMMENT = Haskell implementation of the D-Bus protocol
|
||||
|
||||
DISTNAME = dbus-0.10.10
|
||||
REVISION = 0
|
||||
CATEGORIES = devel x11
|
||||
|
||||
HOMEPAGE = https://john-millikin.com/software/haskell-dbus/
|
||||
@ -16,12 +17,14 @@ MODULES = lang/ghc
|
||||
|
||||
MODGHC_BUILD = cabal hackage haddock register
|
||||
|
||||
MODGHC_PACKAGE_KEY = 1wWNLITcHmO4TX9aVNucev
|
||||
|
||||
RUN_DEPENDS = devel/hs-cereal>=0.3.4,<0.5 \
|
||||
devel/hs-network>=2.2.3 \
|
||||
devel/hs-parsec>=2.0,<3.2 \
|
||||
devel/hs-random>=1.0,<2.0 \
|
||||
devel/hs-text>=0.11.1.5 \
|
||||
devel/hs-vector>=0.7,<0.11 \
|
||||
devel/hs-vector>=0.7,<0.12 \
|
||||
textproc/hs-libxml-sax>=0.7,<0.8 \
|
||||
textproc/hs-xml-types>=0.3,<0.4
|
||||
BUILD_DEPENDS = ${RUN_DEPENDS}
|
||||
|
24
x11/hs-dbus/patches/patch-dbus_cabal
Normal file
24
x11/hs-dbus/patches/patch-dbus_cabal
Normal file
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-dbus_cabal,v 1.1 2015/09/24 20:10:29 kili Exp $
|
||||
|
||||
Builds fine with hs-vector-0.11.
|
||||
|
||||
--- dbus.cabal.orig Wed Apr 1 07:21:47 2015
|
||||
+++ dbus.cabal Thu Sep 24 21:38:56 2015
|
||||
@@ -105,7 +105,7 @@ library
|
||||
, text >= 0.11.1.5
|
||||
, transformers >= 0.2
|
||||
, unix >= 2.2
|
||||
- , vector >= 0.7 && < 0.11
|
||||
+ , vector >= 0.7 && < 0.12
|
||||
, xml-types >= 0.3 && < 0.4
|
||||
|
||||
exposed-modules:
|
||||
@@ -147,7 +147,7 @@ test-suite dbus_tests
|
||||
, text >= 0.11.1.5
|
||||
, transformers >= 0.2
|
||||
, unix >= 2.2
|
||||
- , vector >= 0.7 && < 0.11
|
||||
+ , vector >= 0.7 && < 0.12
|
||||
, xml-types >= 0.3 && < 0.4
|
||||
|
||||
benchmark dbus_benchmarks
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2014/12/03 21:56:45 kili Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2015/09/24 20:10:29 kili Exp $
|
||||
lib/ghc/${DISTNAME}/
|
||||
lib/ghc/${DISTNAME}/DBus/
|
||||
lib/ghc/${DISTNAME}/DBus.hi
|
||||
@ -19,8 +19,9 @@ lib/ghc/${DISTNAME}/DBus/Types.hi
|
||||
lib/ghc/${DISTNAME}/DBus/Types.p_hi
|
||||
lib/ghc/${DISTNAME}/DBus/Wire.hi
|
||||
lib/ghc/${DISTNAME}/DBus/Wire.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}/html/
|
||||
|
Loading…
Reference in New Issue
Block a user