Skip to content

Commit

Permalink
dev-haskell/hdbc-mysql: add missing mysql extralib
Browse files Browse the repository at this point in the history
It's a backport of upstream
ryantm/hdbc-mysql@b69d35f

Reported-by: savior michael

Package-Manager: portage-2.2.28
  • Loading branch information
Sergei Trofimovich committed May 8, 2016
1 parent 062bd06 commit 948d88a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
18 changes: 18 additions & 0 deletions dev-haskell/hdbc-mysql/files/hdbc-mysql-0.6.6.1-extralib.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
commit d53860f7edb75873e263111129c159802b2ac5a6
Author: Satoshi Nakamura <[email protected]>
Date: Tue May 27 15:44:57 2014 +0900

Add mysqlclient to Extra-Libraries

diff --git a/HDBC-mysql.cabal b/HDBC-mysql.cabal
index 2d56d8b..6a8967a 100644
--- a/HDBC-mysql.cabal
+++ b/HDBC-mysql.cabal
@@ -32,6 +32,7 @@ library
time,
utf8-string
ghc-options: -Wall
+ Extra-Libraries: mysqlclient

source-repository head
type: git
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
EAPI=6

# ebuild generated by hackport 0.3.1.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour"
CABAL_FEATURES+=" nocabaldep" # workaround depend on old cabal-1.16
inherit base haskell-cabal
inherit haskell-cabal

MY_PN="HDBC-mysql"
MY_P="${MY_PN}-${PV}"
Expand All @@ -31,4 +31,7 @@ DEPEND="${RDEPEND}

S="${WORKDIR}/${MY_P}"

PATCHES=("${FILESDIR}/${PN}-0.6.6.1-cabal-1.18.patch")
PATCHES=(
"${FILESDIR}/${P}"-cabal-1.18.patch
"${FILESDIR}/${P}"-extralib.patch
)
1 change: 1 addition & 0 deletions dev-haskell/hdbc-mysql/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo Haskell</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
Expand Down

0 comments on commit 948d88a

Please sign in to comment.