dev-haskell/hdbc-mysql: add missing mysql extralib
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 8 May 2016 10:19:34 +0000 (11:19 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 8 May 2016 10:19:34 +0000 (11:19 +0100)
It's a backport of upstream
https://github.com/bos/hdbc-mysql/pull/13/commits/b69d35f7050b1d23f13586886fa73293cf8fb1ac

Reported-by: savior michael
Package-Manager: portage-2.2.28

dev-haskell/hdbc-mysql/files/hdbc-mysql-0.6.6.1-extralib.patch [new file with mode: 0644]
dev-haskell/hdbc-mysql/hdbc-mysql-0.6.6.1-r3.ebuild [moved from dev-haskell/hdbc-mysql/hdbc-mysql-0.6.6.1-r2.ebuild with 82% similarity]
dev-haskell/hdbc-mysql/metadata.xml

diff --git a/dev-haskell/hdbc-mysql/files/hdbc-mysql-0.6.6.1-extralib.patch b/dev-haskell/hdbc-mysql/files/hdbc-mysql-0.6.6.1-extralib.patch
new file mode 100644 (file)
index 0000000..8b99939
--- /dev/null
@@ -0,0 +1,18 @@
+commit d53860f7edb75873e263111129c159802b2ac5a6
+Author: Satoshi Nakamura <snakamura@infoteria.com>
+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
similarity index 82%
rename from dev-haskell/hdbc-mysql/hdbc-mysql-0.6.6.1-r2.ebuild
rename to dev-haskell/hdbc-mysql/hdbc-mysql-0.6.6.1-r3.ebuild
index 3d53632859cc9d26d5694fc4c0027b95b412bdb0..f01d7de3940806c3a1ea20a72e23db56832366d0 100644 (file)
@@ -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}"
@@ -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
+)
index 7ed71aba93f464361813dc094c79956891ed1b3c..7fca400db6e585382d14b9488bc3b459ccb1dab1 100644 (file)
@@ -3,6 +3,7 @@
 <pkgmetadata>
        <maintainer type="project">
                <email>haskell@gentoo.org</email>
+               <name>Gentoo Haskell</name>
        </maintainer>
        <maintainer type="project">
                <email>proxy-maint@gentoo.org</email>