Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45419 Details for
Bug 73635
libcap can't be built with nocxx (when USE=python)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for ebuild to allow building w/o a c++ compiler
libcap-ebuild-nocxx.patch (text/plain), 1.50 KB, created by
Peter S. Mazinger
on 2004-12-07 01:53:37 UTC
(
hide
)
Description:
patch for ebuild to allow building w/o a c++ compiler
Filename:
MIME Type:
Creator:
Peter S. Mazinger
Created:
2004-12-07 01:53:37 UTC
Size:
1.50 KB
patch
obsolete
>--- ../portage/sys-libs/libcap/libcap-1.10-r4.ebuild 2004-10-15 03:37:58.000000000 +0200 >+++ sys-libs/libcap/libcap-1.10-r4.ebuild 2004-12-05 14:45:44.000000000 +0100 >@@ -13,13 +13,13 @@ > LICENSE="GPL-2 BSD" > SLOT="0" > KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" >-IUSE="python pic static" >+IUSE="nocxx python pic static" > > #patch is in recent 2.2 kernels so it works there > DEPEND="virtual/libc > virtual/os-headers >- python? ( >=virtual/python-2.2.1 >=dev-lang/swig-1.3.10 )" >-RDEPEND="python? ( >=virtual/python-2.2.1 ) >+ !nocxx? ( python? ( >=virtual/python-2.2.1 ( >=dev-lang/swig-1.3.10 ) ) )" >+RDEPEND="!nocxx? ( python? ( >=virtual/python-2.2.1 ) ) > virtual/libc" > > src_unpack() { >@@ -35,7 +35,7 @@ > local PYTHONVER="`python -V 2>&1 | sed 's/^Python //'|sed 's/\([0-9]*\.[0-9]*\).*/\1/'`" > local myflags="" > use static && CFLAGS="${CFLAGS} -static" && LDFLAGS="${LDFLAGS} -static" >- if use python ; then >+ if !use nocxx && use python ; then > myflags="${myflags} PYTHON=1 PYTHONMODDIR=/usr/$(get_libdir)/python${PYTHONVER}/site-packages" > append-flags -I/usr/include/python${PYTHONVER} > fi >@@ -46,7 +46,7 @@ > src_install() { > local PYTHONVER="`python -V 2>&1 | sed 's/^Python //'|sed 's/\([0-9]*\.[0-9]*\).*/\1/'`" > local myflags="" >- if use python ; then >+ if !use nocxx && use python ; then > myflags="${myflags} PYTHON=1 PYTHONMODDIR=${D}/usr/$(get_libdir)/python${PYTHONVER}/site-packages" > fi > make install FAKEROOT="${D}" man_prefix=/usr/share LIBDIR="${D}/$(get_libdir)" ${myflags} || die
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 73635
: 45419