Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36831 Details for
Bug 59542
PATCH: portage ebuild should honour FEATURE value for sandbox
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
don't install sandbox if FEATURES say "-sandbox"
portage-2.0.50-sandbox.patch (text/plain), 1.20 KB, created by
devsk
on 2004-08-05 11:14:50 UTC
(
hide
)
Description:
don't install sandbox if FEATURES say "-sandbox"
Filename:
MIME Type:
Creator:
devsk
Created:
2004-08-05 11:14:50 UTC
Size:
1.20 KB
patch
obsolete
>--- portage-2.0.50-r9.ebuild.orig 2004-08-05 10:57:30.974977288 -0700 >+++ portage-2.0.50-r9.ebuild 2004-08-05 10:59:54.069223656 -0700 >@@ -56,19 +56,21 @@ > > src_compile() { > cd ${S}/src; ${CC:-gcc} ${CFLAGS} tbz2tool.c -o tbz2tool >- cd ${S}/src/sandbox-1.1 >- case ${ARCH} in >- "x86") >- make CFLAGS="-march=i386 -O1 -pipe" || die >- ;; >- "amd64") >- check_multilib >- make CFLAGS="-O2 -pipe" HAVE_64BIT_ARCH="${MULTILIB}" || die >- ;; >- *) >- make || die >- ;; >- esac >+ if has sandbox $FEATURES; then >+ cd ${S}/src/sandbox-1.1 >+ case ${ARCH} in >+ "x86") >+ make CFLAGS="-march=i386 -O1 -pipe" || die >+ ;; >+ "amd64") >+ check_multilib >+ make CFLAGS="-O2 -pipe" HAVE_64BIT_ARCH="${MULTILIB}" || die >+ ;; >+ *) >+ make || die >+ ;; >+ esac >+ fi > cd ${S}/bin > } > >@@ -135,11 +137,13 @@ > doexe ${S}/src/tbz2tool > > #install sandbox >- cd ${S}/src/sandbox-1.1 >- make clean >- make DESTDIR=${D} \ >- HAVE_64BIT_ARCH="${MULTILIB}" \ >- install || die "Failed to compile sandbox" >+ if has sandbox $FEATURES; then >+ cd ${S}/src/sandbox-1.1 >+ make clean >+ make DESTDIR=${D} \ >+ HAVE_64BIT_ARCH="${MULTILIB}" \ >+ install || die "Failed to compile sandbox" >+ fi > > #symlinks > dodir /usr/bin /usr/sbin
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 59542
: 36831