diff options
author | Herbie Hopkins <herbs@gentoo.org> | 2005-06-22 17:58:20 +0000 |
---|---|---|
committer | Herbie Hopkins <herbs@gentoo.org> | 2005-06-22 17:58:20 +0000 |
commit | d20366e2307fdc4cf1bdfe22cad65f1f04aee829 (patch) | |
tree | 379c85a8a15106ceb2756a7796000f11ed52cdd7 /net-libs/libwww/libwww-5.4.0-r3.ebuild | |
parent | added mksh ebuild (diff) | |
download | historical-d20366e2307fdc4cf1bdfe22cad65f1f04aee829.tar.gz historical-d20366e2307fdc4cf1bdfe22cad65f1f04aee829.tar.bz2 historical-d20366e2307fdc4cf1bdfe22cad65f1f04aee829.zip |
Fix multilib issue.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-libs/libwww/libwww-5.4.0-r3.ebuild')
-rw-r--r-- | net-libs/libwww/libwww-5.4.0-r3.ebuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/net-libs/libwww/libwww-5.4.0-r3.ebuild b/net-libs/libwww/libwww-5.4.0-r3.ebuild index 3bd1f7c70dc2..d26f81f5e5e5 100644 --- a/net-libs/libwww/libwww-5.4.0-r3.ebuild +++ b/net-libs/libwww/libwww-5.4.0-r3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r3.ebuild,v 1.1 2005/05/17 09:18:52 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r3.ebuild,v 1.2 2005/06/22 17:58:20 herbs Exp $ -inherit eutils +inherit eutils multilib MY_P=w3c-${P} DESCRIPTION="A general-purpose client side WEB API" @@ -48,15 +48,20 @@ src_unpack() { } src_compile() { + if use mysql ; then + myconf="--with-mysql=/usr/$(get_libdir)/mysql/libmysqlclient.a" + else + myconf="--without-mysql" + fi + econf \ --enable-shared \ --enable-static \ --with-zlib \ --with-md5 \ --with-expat \ - $(use_with mysql) \ $(use_with ssl) \ - || die + ${myconf} || die emake check-am || die use ppc-macos && echo "#undef HAVE_APPKIT_APPKIT_H" >> wwwconf.h |