diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2007-05-23 01:14:54 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2007-05-23 01:14:54 +0000 |
commit | 6be55fec9247ebd451196bcc873010eed32e5940 (patch) | |
tree | 61b6d5ab7d9fcabd0badc7d8fc309b79341befec /dev-db/sqlite/sqlite-2.8.16-r4.ebuild | |
parent | Snapshot from upstream to fix saving settings, install desktop entry, only mo... (diff) | |
download | historical-6be55fec9247ebd451196bcc873010eed32e5940.tar.gz historical-6be55fec9247ebd451196bcc873010eed32e5940.tar.bz2 historical-6be55fec9247ebd451196bcc873010eed32e5940.zip |
Fixing FEATURES=test to be properly RESTRICTed as per ferringb's fixes
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-db/sqlite/sqlite-2.8.16-r4.ebuild')
-rw-r--r-- | dev-db/sqlite/sqlite-2.8.16-r4.ebuild | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/dev-db/sqlite/sqlite-2.8.16-r4.ebuild b/dev-db/sqlite/sqlite-2.8.16-r4.ebuild index 44834833fad5..a000f0a60b65 100644 --- a/dev-db/sqlite/sqlite-2.8.16-r4.ebuild +++ b/dev-db/sqlite/sqlite-2.8.16-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.8.16-r4.ebuild,v 1.17 2007/05/08 20:25:59 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-2.8.16-r4.ebuild,v 1.18 2007/05/23 01:14:54 cardoe Exp $ inherit eutils alternatives toolchain-funcs @@ -21,19 +21,13 @@ RDEPEND="tcl? ( dev-lang/tcl )" SOURCE="/usr/bin/lemon" ALTERNATIVES="${SOURCE}-3 ${SOURCE}-0" +RESTRICT="tcl? ( test )" + src_unpack() { # test - if has test ${FEATURES} ; then - if ! has userpriv ${FEATURES} ; then - ewarn "The userpriv feature must be enabled to run tests." - eerror "Testsuite will not be run." - fi - if ! use tcl ; then - eerror "The tcl USE flag must be enabled to run tests." - ewarn "Please note that turning on tcl installs runtime" - ewarn "support too." - eerror "Testsuite will not be run." - fi + if has test ${FEATURES} && ! has userpriv ${FEATURES}; then + ewarn "The userpriv feature must be enabled to run tests." + eerror "Testsuite will not be run." fi unpack ${A} |