diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2012-09-30 11:57:08 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2012-09-30 11:57:08 +0000 |
commit | ef2f44e779f66ce408794383f3a5818cf4994e59 (patch) | |
tree | 8dda42feb913e49712ff21c735be7421834223ec /dev-lua | |
parent | Remove old version. (diff) | |
download | gentoo-2-ef2f44e779f66ce408794383f3a5818cf4994e59.tar.gz gentoo-2-ef2f44e779f66ce408794383f3a5818cf4994e59.tar.bz2 gentoo-2-ef2f44e779f66ce408794383f3a5818cf4994e59.zip |
Update luadbi to EAPI=4 (bug 427928).
(Portage version: 2.1.11.23/cvs/Linux x86_64)
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/luadbi/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lua/luadbi/luadbi-0.5-r1.ebuild | 20 |
2 files changed, 10 insertions, 16 deletions
diff --git a/dev-lua/luadbi/ChangeLog b/dev-lua/luadbi/ChangeLog index 28746582cee4..90630bd16f34 100644 --- a/dev-lua/luadbi/ChangeLog +++ b/dev-lua/luadbi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lua/luadbi # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/ChangeLog,v 1.5 2012/05/04 04:01:52 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/ChangeLog,v 1.6 2012/09/30 11:57:08 djc Exp $ + + 30 Sep 2012; Dirkjan Ochtman <djc@gentoo.org> luadbi-0.5-r1.ebuild: + Upgrade to EAPI=4, for REQUIRED_USE (bug 427928, thanks to + gentoo@quintero.com). 04 May 2012; Jeff Horelick <jdhore@gentoo.org> luadbi-0.5-r1.ebuild: dev-util/pkgconfig -> virtual/pkgconfig diff --git a/dev-lua/luadbi/luadbi-0.5-r1.ebuild b/dev-lua/luadbi/luadbi-0.5-r1.ebuild index 6f3a1bef0fb8..b80b93750b51 100644 --- a/dev-lua/luadbi/luadbi-0.5-r1.ebuild +++ b/dev-lua/luadbi/luadbi-0.5-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/luadbi-0.5-r1.ebuild,v 1.3 2012/05/04 04:01:52 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/luadbi-0.5-r1.ebuild,v 1.4 2012/09/30 11:57:08 djc Exp $ -EAPI=2 +EAPI=4 inherit multilib toolchain-funcs flag-o-matic eutils @@ -14,6 +14,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="mysql postgres sqlite" +REQUIRED_USE="|| ( mysql postgres sqlite )" RDEPEND=">=dev-lang/lua-5.1 mysql? ( virtual/mysql ) @@ -40,19 +41,9 @@ src_compile() { use postgres && drivers="${drivers} psql" use sqlite && drivers="${drivers} sqlite3" - if [ -z "${drivers// /}" ] ; then - eerror - eerror "No driver was selected, cannot build." - eerror "Please set USE flags to build any driver." - eerror "Possible USE flags: mysql postgres sqlite" - eerror - die "No driver selected" - fi - append-flags -fPIC -c for driver in "${drivers}" ; do - emake ${driver} \ - || die "Compiling driver '${drivers// /}' failed" + emake ${driver} done } @@ -63,7 +54,6 @@ src_install() { use sqlite && drivers="${drivers} sqlite3" for driver in ${drivers} ; do - emake DESTDIR="${D}" "install_${driver// /}" \ - || die "Install of driver '${drivers// /}' failed" + emake DESTDIR="${D}" "install_${driver// /}" done } |