summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheracles <heracles@localhost>2007-02-16 21:28:30 +0000
committerheracles <heracles@localhost>2007-02-16 21:28:30 +0000
commitf92c2ed6c4f6580037e77e6845254cedee3ba551 (patch)
tree7d2b0861a9b29346aaaba6c51ff00836952248e2
parentPleasing paludis: (diff)
downloadexperimental-f92c2ed6c4f6580037e77e6845254cedee3ba551.tar.gz
experimental-f92c2ed6c4f6580037e77e6845254cedee3ba551.tar.bz2
experimental-f92c2ed6c4f6580037e77e6845254cedee3ba551.zip
added threads use-flag to libpq ebuild
svn path=/experimental/; revision=201
-rw-r--r--dev-db/libpq/Manifest8
-rw-r--r--dev-db/libpq/libpq-99.99.99.ebuild14
2 files changed, 17 insertions, 5 deletions
diff --git a/dev-db/libpq/Manifest b/dev-db/libpq/Manifest
index 1d79f53..1ee36d6 100644
--- a/dev-db/libpq/Manifest
+++ b/dev-db/libpq/Manifest
@@ -1,7 +1,7 @@
-EBUILD libpq-99.99.99.ebuild 919 RMD160 c799844c3ba2d06708d9f0dad4ade8b2189c1253 SHA1 aeeac5a306dbc447ae99a8cd9ead0cfbc7efc28b SHA256 615eafb3dce2f4e2f9f31b29e1619b3be494be495278fe7164c252b9025ed359
-MD5 b2c53921e4507494009e2db34ee92d59 libpq-99.99.99.ebuild 919
-RMD160 c799844c3ba2d06708d9f0dad4ade8b2189c1253 libpq-99.99.99.ebuild 919
-SHA256 615eafb3dce2f4e2f9f31b29e1619b3be494be495278fe7164c252b9025ed359 libpq-99.99.99.ebuild 919
+EBUILD libpq-99.99.99.ebuild 1366 RMD160 29b71bd88f7c98beebb912bfe93fe69eb1f471aa SHA1 10166084db3725bc62b9264c315dfb1e818637ad SHA256 d226ec342fcd50a7740d3d225b132e0eb7e9a70053c33657ed03536908b0b77b
+MD5 668bf5b014eab2d3e82be56cf2470c93 libpq-99.99.99.ebuild 1366
+RMD160 29b71bd88f7c98beebb912bfe93fe69eb1f471aa libpq-99.99.99.ebuild 1366
+SHA256 d226ec342fcd50a7740d3d225b132e0eb7e9a70053c33657ed03536908b0b77b libpq-99.99.99.ebuild 1366
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-libpq-99.99.99 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-libpq-99.99.99 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-libpq-99.99.99 0
diff --git a/dev-db/libpq/libpq-99.99.99.ebuild b/dev-db/libpq/libpq-99.99.99.ebuild
index 5b8fc76..abe458c 100644
--- a/dev-db/libpq/libpq-99.99.99.ebuild
+++ b/dev-db/libpq/libpq-99.99.99.ebuild
@@ -2,13 +2,15 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+inherit eutils
+
DESCRIPTION="Dummy ebuild provided to satisfy dependency"
HOMEPAGE="http://overlays.gentoo.org/proj/postgresql/"
LICENSE="POSTGRESQL"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="fixme"
+IUSE="fixme threads"
RDEPEND="dev-db/postgresql-libs"
@@ -20,6 +22,16 @@ pkg_setup() {
ewarn "tree, isn't it?"
die "Fix me!"
fi
+ if use threads && ! built_with_use dev-db/postgresql-libs threads ; then
+ ewarn "If you want to use threads in libpq, you definitely"
+ ewarn "should add the USE flg to postgresql-libs, not only libpq"
+ die "Fix me!"
+ fi
+ if ! use threads && built_with_use dev-db/postgresql-libs threads ; then
+ ewarn "If you don't want to enable threads in libpq, do it for"
+ ewarn "dev-libs/postgresql-libs too"
+ die "Fix me!"
+ fi
}
pkg_postinst() {