Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r4.ebuild,v 1.14 2005/11/20 13:21:05 hardave Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r4.ebuild,v 1.14 2005/11/20 13:21:05 hardave Exp $ |
4 |
|
4 |
|
5 |
inherit eutils multilib |
5 |
inherit eutils multilib autotools |
6 |
|
6 |
|
7 |
MY_P=w3c-${P} |
7 |
MY_P=w3c-${P} |
8 |
DESCRIPTION="A general-purpose client side WEB API" |
8 |
DESCRIPTION="A general-purpose client side WEB API" |
Lines 41-58
Link Here
|
41 |
epatch "${FILESDIR}"/${P}-mysql-4.1.patch |
41 |
epatch "${FILESDIR}"/${P}-mysql-4.1.patch |
42 |
# Fix multiple problems, potentially exploitable (bug #109040) |
42 |
# Fix multiple problems, potentially exploitable (bug #109040) |
43 |
epatch "${FILESDIR}"/${P}-htbound.patch |
43 |
epatch "${FILESDIR}"/${P}-htbound.patch |
|
|
44 |
# Fix linking while using --as-needed |
45 |
epatch "${FILESDIR}/${P}-asneeded.patch" |
46 |
# Drop Externls rebuild after automake |
47 |
epatch "${FILESDIR}/${P}-noexport.patch" |
44 |
|
48 |
|
45 |
export WANT_AUTOMAKE=1.4 |
49 |
eautoreconf |
46 |
aclocal || die "aclocal failed" |
|
|
47 |
|
48 |
if use ppc-macos; |
49 |
then |
50 |
glibtoolize -c -f || die "glibtoolize failed" |
51 |
else |
52 |
libtoolize -c -f || die "libtoolize failed" |
53 |
fi |
54 |
|
55 |
autoconf || die "autoconf failed" |
56 |
} |
50 |
} |
57 |
|
51 |
|
58 |
src_compile() { |
52 |
src_compile() { |
Lines 62-67
Link Here
|
62 |
myconf="--without-mysql" |
56 |
myconf="--without-mysql" |
63 |
fi |
57 |
fi |
64 |
|
58 |
|
|
|
59 |
export ac_cv_header_appkit_appkit_h=no |
65 |
econf \ |
60 |
econf \ |
66 |
--enable-shared \ |
61 |
--enable-shared \ |
67 |
--enable-static \ |
62 |
--enable-static \ |
Lines 71-78
Link Here
|
71 |
$(use_with ssl) \ |
66 |
$(use_with ssl) \ |
72 |
${myconf} || die "./configure failed" |
67 |
${myconf} || die "./configure failed" |
73 |
|
68 |
|
74 |
emake check-am || die |
|
|
75 |
use ppc-macos && echo "#undef HAVE_APPKIT_APPKIT_H" >> wwwconf.h |
76 |
emake || die "Compilation failed" |
69 |
emake || die "Compilation failed" |
77 |
} |
70 |
} |
78 |
|
71 |
|