Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87806 Details for
Bug 133182
kde-ebuilds that need arts have arts as USE flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kde.eclass-fix-arts-not-optional.patch
kde.eclass-fix-arts-not-optional.patch (text/plain), 2.01 KB, created by
UncleOwen
on 2006-05-29 10:22:24 UTC
(
hide
)
Description:
kde.eclass-fix-arts-not-optional.patch
Filename:
MIME Type:
Creator:
UncleOwen
Created:
2006-05-29 10:22:24 UTC
Size:
2.01 KB
patch
obsolete
>--- eclass/kde.eclass 2006-05-25 17:05:35.000000000 +0200 >+++ eclass/kde.eclass 2006-05-29 19:14:23.000000000 +0200 >@@ -10,7 +10,11 @@ > inherit base eutils kde-functions flag-o-matic libtool > DESCRIPTION="Based on the $ECLASS eclass" > HOMEPAGE="http://www.kde.org/" >-IUSE="debug arts xinerama" >+IUSE="debug xinerama" >+ >+if [[ ${ARTS_IS_OPTIONAL} != "no" ]]; then >+ IUSE="${IUSE} arts" >+fi > > if [[ ${CATEGORY} == "kde-base" ]]; then > IUSE="${IUSE} kdeenablefinal" >@@ -43,13 +47,15 @@ > > kde_pkg_setup() { > if [ "${PN}" != "arts" ] && [ "${PN}" != "kdelibs" ] ; then >- use arts && if ! built_with_use kde-base/kdelibs arts ; then >- eerror "You are trying to compile ${CATEGORY}/${P} with the \"arts\" USE flag enabled." >- eerror "However, $(best_version kde-base/kdelibs) was compiled with this flag disabled." >- eerror >- eerror "You must either disable this use flag, or recompile" >- eerror "$(best_version kde-base/kdelibs) with this use flag enabled." >- die >+ if [ ${ARTS_IS_OPTIONAL} == 'no' ] || use arts ; then >+ if ! built_with_use kde-base/kdelibs arts ; then >+ eerror "You are trying to compile ${CATEGORY}/${P} with the \"arts\" USE flag enabled." >+ eerror "However, $(best_version kde-base/kdelibs) was compiled with this flag disabled." >+ eerror >+ eerror "You must either disable this use flag, or recompile" >+ eerror "$(best_version kde-base/kdelibs) with this use flag enabled." >+ die >+ fi > fi > fi > >@@ -158,8 +164,12 @@ > if hasq kdeenablefinal ${IUSE}; then > myconf="$myconf $(use_enable kdeenablefinal final)" > fi >- [[ -z "$KDEBASE" ]] && myconf="$myconf $(use_with arts)" >- [[ -n "$KDEBASE" && "$KDEMINORVER" -ge 3 ]] && myconf="$myconf $(use_with arts)" >+ if [[ ${ARTS_IS_OPTIONAL} == 'no' ]]; then >+ myconf="$myconf --with-alsa" >+ else >+ [[ -z "$KDEBASE" ]] && myconf="$myconf $(use_with arts)" >+ [[ -n "$KDEBASE" && "$KDEMINORVER" -ge 3 ]] && myconf="$myconf $(use_with arts)" >+ fi > debug-print "$FUNCNAME: myconf: set to ${myconf}" > ;; > configure)
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133182
:
86691
|
86692
| 87806