summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-06-20 11:31:23 +0000
committerJakub Moc <jakub@gentoo.org>2007-06-20 11:31:23 +0000
commit316c9ef3c53ea9d16d88ca63a373f841bc9fc6d9 (patch)
tree630473d6745c64c7d79007e634d20f45bea00066 /dev-cpp
parentdev-cpp/libiqxmlrpc: Fix built_with_use check for newer boost versions (diff)
downloadsunrise-316c9ef3c53ea9d16d88ca63a373f841bc9fc6d9.tar.gz
sunrise-316c9ef3c53ea9d16d88ca63a373f841bc9fc6d9.tar.bz2
sunrise-316c9ef3c53ea9d16d88ca63a373f841bc9fc6d9.zip
dev-cpp/litesql: Fix up configure when no use flags are set, cosmetics
svn path=/sunrise/; revision=3993
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/litesql/ChangeLog3
-rw-r--r--dev-cpp/litesql/Manifest4
-rw-r--r--dev-cpp/litesql/litesql-0.3.2.ebuild12
3 files changed, 13 insertions, 6 deletions
diff --git a/dev-cpp/litesql/ChangeLog b/dev-cpp/litesql/ChangeLog
index 4af91240b..0eb3f8685 100644
--- a/dev-cpp/litesql/ChangeLog
+++ b/dev-cpp/litesql/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 20 Jun 2007; Jakub Moc <jakub@gentoo.org> litesql-0.3.2.ebuild:
+ Fix up configure when no use flags are set, cosmetics
+
26 Apr 2007; Ali Polatel (hawking) <polatel@gmail.com>
litesql-0.3.2.ebuild:
Remove app-doc/doxygen from RDEPEND
diff --git a/dev-cpp/litesql/Manifest b/dev-cpp/litesql/Manifest
index 5e125e06c..689e481d7 100644
--- a/dev-cpp/litesql/Manifest
+++ b/dev-cpp/litesql/Manifest
@@ -1,6 +1,6 @@
AUX litesql-0.3.2-extra_qualifier.patch 840 RMD160 260b38e210cdbd492363b9a136ff89755af94ab6 SHA1 3c5ae043a9cf2039e4ec9749db50489d41c35602 SHA256 7e88809a99273a22f1d2791959a1d63b5c306ba47d48d04bea24da8e18665995
AUX litesql-0.3.2-pkg_makefile_am.patch 492 RMD160 f36970b30755e4dfacf3366d2bcb4afbe2d3368f SHA1 c4aecee20e9215cf247977575b222dbfa625be87 SHA256 c9ee443edf0c1f6ffd79593eafb30cb06a103e78e3845429ccff07e7ce7999a4
DIST litesql-0.3.2.tar.gz 825703 RMD160 13cf61db4994b13b98456abf86c737cbaf5f954d SHA1 4e725f2ed361224ff15a970970c82f82ede47e44 SHA256 b00cadb4cda881d65534515d40e20fa7cba234e67a5600d580c0a58e289daeed
-EBUILD litesql-0.3.2.ebuild 1771 RMD160 73bad92ac8113e2a2c853ad60e09ffda889753a6 SHA1 2d7baec1651328adecba508416e94035054556dc SHA256 08a532c745a77966e3fbf52eb8822953119aac27c9f8b5c4a06c308738257d52
-MISC ChangeLog 791 RMD160 95bea0ec3991f8c4834b2f6b8c4e324e7735f79a SHA1 ccd25fd0c1b55a3a64dcda2b3429b0ba5931b5e9 SHA256 bd1c9609876b1ecf33237ec8136d69f14da44f6973bce4076eb5d8c493af0ba2
+EBUILD litesql-0.3.2.ebuild 1882 RMD160 a5c00784aaeade78b04c3c30f213e93dce571cd3 SHA1 7ebccec83d571aea49ab1cb3cd6a7a9c21535ba0 SHA256 baba15d99310d82f0a225764699b815e0917958e044518d2fdc7891bb98b1138
+MISC ChangeLog 914 RMD160 1060b69efc63fd0e14babf9350f6b0c67f9d0232 SHA1 1003c7894c59ac186c2adc051165b445b894bef3 SHA256 b47b38387a7c927a84157dfea505dc078d92727e132523e288aa730a659692dd
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-cpp/litesql/litesql-0.3.2.ebuild b/dev-cpp/litesql/litesql-0.3.2.ebuild
index ef4020280..d9909a4d2 100644
--- a/dev-cpp/litesql/litesql-0.3.2.ebuild
+++ b/dev-cpp/litesql/litesql-0.3.2.ebuild
@@ -16,14 +16,14 @@ SLOT="0"
IUSE="doc examples mysql postgres sqlite"
RDEPEND="mysql? ( virtual/mysql )
- postgres? ( dev-db/libpq )
- sqlite? ( =dev-db/sqlite-3* )
- !mysql? ( !postgres? ( =dev-db/sqlite-3* ) )"
+ postgres? ( dev-db/libpq )
+ sqlite? ( =dev-db/sqlite-3* )
+ !mysql? ( !postgres? ( !sqlite? ( =dev-db/sqlite-3* ) ) )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
pkg_setup() {
- if ! ( use mysql || use postgres || use sqlite ) ; then
+ if ! use mysql && ! use postgres && ! use sqlite ; then
ewarn "You have to specify at least one of the following USE-flags:"
ewarn "'mysql postgresq sqlite'"
ewarn "None specified: support for sqlite automatically activated."
@@ -46,10 +46,14 @@ src_unpack() {
}
src_compile() {
+ if ! use mysql && ! use postgres && ! use sqlite ; then
+ myconf="--with-sqlite3"
+ fi
econf \
$(use_with mysql) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite3) \
+ ${myconf} \
|| die "econf failed"
emake || die "emake failed"