Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 320132 Details for
Bug 427928
dev-lua/luadbi-0.5-r1: should use REQUIRED_USE and IUSE defaults
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Proposed fix
file_427928.txt (text/plain), 1.42 KB, created by
Jose Quinteiro
on 2012-08-03 06:36:42 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Jose Quinteiro
Created:
2012-08-03 06:36:42 UTC
Size:
1.42 KB
patch
obsolete
>--- /usr/portage/dev-lua/luadbi/luadbi-0.5-r1.ebuild 2012-05-03 21:31:09.000000000 -0700 >+++ dev-lua/luadbi/luadbi-0.5-r2.ebuild 2012-08-02 22:59:02.000000000 -0700 >@@ -2,7 +2,7 @@ > # 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 $ > >-EAPI=2 >+EAPI=4 > > inherit multilib toolchain-funcs flag-o-matic eutils > >@@ -14,6 +14,7 @@ > 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 @@ > 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 @@ > 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 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 427928
: 320132