summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter van den Abeele <pvdabeel@gentoo.org>2004-07-11 15:25:46 +0000
committerPieter van den Abeele <pvdabeel@gentoo.org>2004-07-11 15:25:46 +0000
commit008a7ea835d236ab963314d39eb15de08518e7b9 (patch)
tree3e57b5ab4656e072cbff3b233202271db190d82c /net-libs
parentFix header. (diff)
downloadhistorical-008a7ea835d236ab963314d39eb15de08518e7b9.tar.gz
historical-008a7ea835d236ab963314d39eb15de08518e7b9.tar.bz2
historical-008a7ea835d236ab963314d39eb15de08518e7b9.zip
Fixed the autotools related macos bug
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libwww/libwww-5.4.0-r2.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/net-libs/libwww/libwww-5.4.0-r2.ebuild b/net-libs/libwww/libwww-5.4.0-r2.ebuild
index 0db4483ff690..33de3897688d 100644
--- a/net-libs/libwww/libwww-5.4.0-r2.ebuild
+++ b/net-libs/libwww/libwww-5.4.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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-r2.ebuild,v 1.18 2004/07/11 06:44:58 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r2.ebuild,v 1.19 2004/07/11 15:25:46 pvdabeel Exp $
inherit eutils
@@ -34,14 +34,6 @@ src_unpack() {
epatch ${FILESDIR}/${P}-automake-gentoo.diff # bug #41959
epatch ${FILESDIR}/${P}-disable-ndebug-gentoo.diff # bug #50483
- # I can't get this part work correctly - stupid autotools
- # The HAVE_APPKIT_APPKIT_H macro is automatically set to 1, but it shouldn't be because appkit is not
- # what autotools think it is. I have tried everything from patching, to sed. Please help me out here
-
- use macos && sed -e "s:#undef HAVE_APPKIT_APPKIT_H:#undef HAV_H:g" wwwconf.h.in > wwwconf.h.in
-
- # The following works as expected
-
if use macos; then
glibtoolize -c -f || die "libtoolize failed"
else
@@ -54,6 +46,7 @@ src_unpack() {
}
src_compile() {
+
econf \
--enable-shared \
--enable-static \
@@ -64,6 +57,10 @@ src_compile() {
`use_with ssl` \
|| die
+ emake check-am || die
+
+ use macos && echo "#undef HAVE_APPKIT_APPKIT_H" >> wwwconf.h
+
emake || die
}