Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 244167 Details for
Bug 332605
Pleasre review Prefix changes for sys-devel/clang
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed clang-9999.ebuild for prefix
clang-9999-prefix.patch (text/plain), 1.76 KB, created by
Matthias Maier
on 2010-08-23 08:46:39 UTC
(
hide
)
Description:
Proposed clang-9999.ebuild for prefix
Filename:
MIME Type:
Creator:
Matthias Maier
Created:
2010-08-23 08:46:39 UTC
Size:
1.76 KB
patch
obsolete
>--- /home/people/maier/orig/clang-9999.ebuild 2010-08-22 17:28:41.000000000 +0200 >+++ clang-9999.ebuild 2010-08-22 20:13:31.000000000 +0200 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-9999.ebuild,v 1.5 2010/08/19 19:32:20 voyageur Exp $ > >-EAPI=2 >+EAPI=3 > > RESTRICT_PYTHON_ABIS="3.*" > SUPPORT_PYTHON_ABIS="1" >@@ -53,7 +53,7 @@ > # From llvm src_prepare > einfo "Fixing install dirs" > sed -e 's,^PROJ_docsdir.*,PROJ_docsdir := $(PROJ_prefix)/share/doc/'${PF}, \ >- -e 's,^PROJ_etcdir.*,PROJ_etcdir := /etc/llvm,' \ >+ -e 's,^PROJ_etcdir.*,PROJ_etcdir := '"${EPREFIX}"'/etc/llvm,' \ > -e 's,^PROJ_libdir.*,PROJ_libdir := $(PROJ_prefix)/'$(get_libdir), \ > -i Makefile.config.in || die "Makefile.config sed failed" > >@@ -80,6 +80,12 @@ > CONF_FLAGS="${CONF_FLAGS} --enable-pic" > fi > >+ # Setup the search path to include the Prefix includes >+ if use prefix ; then >+ CONF_FLAGS="${CONF_FLAGS} \ >+ --with-c-include-dirs=${EPREFIX}/usr/include:/usr/include" >+ fi >+ > # Skip llvm-gcc parts even if installed > CONF_FLAGS="${CONF_FLAGS} --with-llvmgccdir=/dev/null" > >@@ -130,10 +136,19 @@ > install-scan-view() { > insinto "$(python_get_sitedir)"/clang > doins Reporter.py Resources ScanView.py startfile.py >- touch "${D}"/"$(python_get_sitedir)"/clang/__init__.py >+ touch "${ED}"/"$(python_get_sitedir)"/clang/__init__.py > } > python_execute_function install-scan-view > fi >+ >+ # Fix install_names on Darwin. The build system is too complicated >+ # to just fix this, so we correct it post-install >+ if [[ ${CHOST} == *-darwin* ]] ; then >+ for lib in libCIndex.dylib ; do >+ install_name_tool -id "${EPREFIX}"/usr/lib/${lib} \ >+ "${ED}"/usr/lib/${lib} >+ done >+ fi > } > > pkg_postinst() {
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 332605
:
244047
| 244167