Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 250093 Details for
Bug 333771
sys-libs/pthreads-w32: new ebuild for Windows pthreading library
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
2.9.0_pre ebuild loading flag-o-matic changes as eblit
pthreads-w32-2.9.0_pre20100821.ebuild (text/plain), 1.29 KB, created by
Dennis Schridde
on 2010-10-10 10:32:11 UTC
(
hide
)
Description:
2.9.0_pre ebuild loading flag-o-matic changes as eblit
Filename:
MIME Type:
Creator:
Dennis Schridde
Created:
2010-10-10 10:32:11 UTC
Size:
1.29 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=3 > >export CBUILD=${CBUILD:-${CHOST}} >export CTARGET=${CTARGET:-${CHOST}} >if [[ ${CTARGET} == ${CHOST} ]] ; then > if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then > export CTARGET=${CATEGORY/cross-} > fi >fi > >inherit eutils flag-o-matic > >DESCRIPTION="Implementation of pthreads for Win32" >HOMEPAGE="http://sourceware.org/pthreads-win32" >SRC_URI="gentoo://${P}.tar.xz" > >LICENSE="LGPL-2.1" >SLOT="0" >KEYWORDS="~amd64" > >IUSE="" >RESTRICT="strip" > >DEPEND="" >RDEPEND="${DEPEND}" > >pkg_setup() { > if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then > die "Invalid configuration; do not emerge this directly" > fi >} > >src_prepare() { > . "${FILESDIR}"/flag-o-matic.eblit > > filter-flags -fstack-protector > CHOST=${CTARGET} strip-unsupported-flags > > sed -i GNUmakefile \ > -e '/^OPT/s/-O3 -finline-functions//' \ > -e "/^CFLAGS/s/\$/ ${CFLAGS}/" \ > -e "/^CFLAGS/a\ LFLAGS = ${LDFLAGS}" \ > || die >} > >src_compile() { > emake CROSS=${CTARGET}- GC || die >} > >src_install() { > insinto /usr/${CTARGET}/usr/lib > newins libpthreadGC2.a libpthread.a || die > insinto /usr/${CTARGET}/usr/bin > doins pthreadGC2.dll || die > insinto /usr/${CTARGET}/usr/include > doins {pthread,sched,semaphore}.h || 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 Raw
Actions:
View
Attachments on
bug 333771
:
243827
|
243829
|
243831
|
243833
|
243835
|
243837
|
250089
|
250091
|
250093
|
250095
|
250097
|
283479
|
283481
|
283483
|
283485
|
283487
|
283489
|
283491
|
283493
|
283495
|
283497
|
283499