Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215279 Details for
Bug 299620
dev-libs/botan (dependency of monotone) for the prefixed portage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch against the eprefixified botan ebuild
botan-1.8.8.ebuild.patch (text/plain), 2.26 KB, created by
Dirk Tilger
on 2010-01-05 12:44:05 UTC
(
hide
)
Description:
Updated patch against the eprefixified botan ebuild
Filename:
MIME Type:
Creator:
Dirk Tilger
Created:
2010-01-05 12:44:05 UTC
Size:
2.26 KB
patch
obsolete
>--- /Gentoo/var/db/patchmaker/dev-libs/botan/1.8.8/botan-1.8.8.ebuild 2010-01-04 17:50:33 +0400 >+++ /Gentoo/usr/portage.main.converted/dev-libs/botan/botan-1.8.8.ebuild 2010-01-05 16:40:51 +0400 >@@ -4,7 +4,7 @@ > > EAPI="2" > >-inherit eutils multilib toolchain-funcs >+inherit eutils multilib toolchain-funcs prefix > > MY_PN="Botan" > MY_P="${MY_PN}-${PV}" >@@ -29,6 +29,8 @@ > > src_prepare() { > epatch "${FILESDIR}/${P}-use_negative_lea_displacement.patch" >+ epatch "${FILESDIR}"/${P}-install_name.patch >+ eprefixify src/build-data/cc/gcc.txt > } > > src_configure() { >@@ -48,13 +50,39 @@ > cd "${S}" > elog "Disabling modules: ${disable_modules}" > >+ # I'm copied from perl-5.10.1.ebuild >+ case ${CHOST} in >+ *-freebsd*) osname="freebsd" ;; >+ *-dragonfly*) osname="dragonfly" ;; >+ *-netbsd*) osname="netbsd" ;; >+ *-openbsd*) osname="openbsd" ;; >+ *-darwin*) osname="darwin" ;; >+ *-solaris*) >+ osname="solaris" >+ # solaris2.9 has /lib/libgdbm.so.2 and /lib/libgdbm.so.3, >+ # but no linkable /lib/libgdbm.so. >+ # This might apply to others too, but seen on solaris only yet. >+ myconf -Dignore_versioned_solibs >+ ;; >+ *-aix*) osname="aix" ;; >+ *-hpux*) osname="hpux" ;; >+ *-irix*) >+ osname="irix" >+ myconf -Dcc="cc -n32 -mips4" >+ use ithreads && myconf -Dlibs="-lm -lpthread" || myconf -Dlibs="-lm" >+ ;; >+ *-interix*) osname='interix' ;; >+ *-mint*) osname="freemint" ;; >+ *) osname="linux" ;; >+ esac >+ > # FIXME: We might actually be on *BSD or OS X... > ./configure.py \ > --prefix="${ED}/usr" \ > --libdir=/$(get_libdir) \ > --docdir=/share/doc/ \ > --cc=gcc \ >- --os=linux \ >+ --os=${osname} \ > --cpu=${CHOSTARCH} \ > --with-endian="$(tc-endian)" \ > --with-tr1=system \ >@@ -78,6 +106,9 @@ > > src_install() { > emake install || die "emake install failed" >- sed -i -e "s:${ED}::g" "${ED}usr/bin/botan-config" "${ED}usr/$(get_libdir)/pkgconfig/botan-1.8.pc" || die "sed failed" >+ sed -i -e "s:${D%/}::g" "${ED}usr/bin/botan-config" "${ED}usr/$(get_libdir)/pkgconfig/botan-1.8.pc" || die "sed failed" >+ # HFS+ is case-insensitive and does treat Botan and botan alike. >+ # mv will report an error. >+ [[ ${CHOST} == *-darwin* ]] || > mv "${ED}usr/share/doc/Botan-${PV}" "${ED}usr/share/doc/${PF}" || die "Renaming of directory failed" > }
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 299620
:
215176
|
215178
| 215279