|
Lines 4-10
Link Here
|
| 4 |
|
4 |
|
| 5 |
EAPI="prefix" |
5 |
EAPI="prefix" |
| 6 |
|
6 |
|
| 7 |
inherit eutils fixheadtails libtool |
7 |
inherit eutils fixheadtails autotools libtool |
| 8 |
|
8 |
|
| 9 |
DESCRIPTION="GNU Portable Threads" |
9 |
DESCRIPTION="GNU Portable Threads" |
| 10 |
HOMEPAGE="http://www.gnu.org/software/pth/" |
10 |
HOMEPAGE="http://www.gnu.org/software/pth/" |
|
Lines 23-38
Link Here
|
| 23 |
epatch "${FILESDIR}"/${PN}-2.0.5-parallelfix.patch |
23 |
epatch "${FILESDIR}"/${PN}-2.0.5-parallelfix.patch |
| 24 |
epatch "${FILESDIR}"/${PN}-2.0.6-ldflags.patch |
24 |
epatch "${FILESDIR}"/${PN}-2.0.6-ldflags.patch |
| 25 |
epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch |
25 |
epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch |
|
|
26 |
epatch "${FILESDIR}/${PN}-2.0.7-mint.patch" |
| 26 |
epatch "${FILESDIR}"/${P}-libs.patch |
27 |
epatch "${FILESDIR}"/${P}-libs.patch |
| 27 |
|
28 |
|
| 28 |
ht_fix_file aclocal.m4 configure |
29 |
ht_fix_file aclocal.m4 configure |
| 29 |
|
30 |
|
|
|
31 |
eautoreconf |
| 30 |
elibtoolize |
32 |
elibtoolize |
| 31 |
} |
33 |
} |
| 32 |
|
34 |
|
| 33 |
src_compile() { |
35 |
src_compile() { |
| 34 |
local conf |
36 |
local conf |
|
|
37 |
|
| 38 |
[[ ${CHOST} == *-mint* ]] && conf="${conf} --enable-pthread" |
| 39 |
|
| 35 |
use debug && conf="${conf} --enable-debug" # have a bug --disable-debug and shared |
40 |
use debug && conf="${conf} --enable-debug" # have a bug --disable-debug and shared |
|
|
41 |
|
| 36 |
econf ${conf} || die |
42 |
econf ${conf} || die |
| 37 |
emake || die |
43 |
emake || die |
| 38 |
} |
44 |
} |