summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-03-12 16:34:55 +0000
committerMamoru Komachi <usata@gentoo.org>2004-03-12 16:34:55 +0000
commit2c2ce6baea35731517a89b8fa40347883df7b6f8 (patch)
tree49422008486d815437f358c1910015bca8905157 /net-libs/libwww
parentSmall update to postinst message. (diff)
downloadhistorical-2c2ce6baea35731517a89b8fa40347883df7b6f8.tar.gz
historical-2c2ce6baea35731517a89b8fa40347883df7b6f8.tar.bz2
historical-2c2ce6baea35731517a89b8fa40347883df7b6f8.zip
Fixed compile error when stratego is installed. See bug #44037
Diffstat (limited to 'net-libs/libwww')
-rw-r--r--net-libs/libwww/ChangeLog6
-rw-r--r--net-libs/libwww/Manifest7
-rw-r--r--net-libs/libwww/files/libwww-5.4.0-autoconf-gentoo.diff33
-rw-r--r--net-libs/libwww/libwww-5.4.0-r2.ebuild3
4 files changed, 44 insertions, 5 deletions
diff --git a/net-libs/libwww/ChangeLog b/net-libs/libwww/ChangeLog
index 23ccc38d3b46..c7993ab3d929 100644
--- a/net-libs/libwww/ChangeLog
+++ b/net-libs/libwww/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/libwww
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/ChangeLog,v 1.23 2004/03/09 23:32:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/ChangeLog,v 1.24 2004/03/12 16:34:55 usata Exp $
+
+ 13 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> libwww-5.4.0-r2.ebuild,
+ files/libwww-5.4.0-autoconf-gentoo.diff:
+ Fixed compile error when stratego is installed. See bug #44037
09 Mar 2004; <agriffis@gentoo.org> libwww-5.4.0-r2.ebuild:
stable on alpha and ia64
diff --git a/net-libs/libwww/Manifest b/net-libs/libwww/Manifest
index 184b6222e5ce..c1f7ebd88d38 100644
--- a/net-libs/libwww/Manifest
+++ b/net-libs/libwww/Manifest
@@ -1,8 +1,9 @@
MD5 c34034cb59518fa62d25bc6d02f77cb1 libwww-5.4.0-r1.ebuild 1065
-MD5 34ceade720aa9a0536775f81b007f961 libwww-5.4.0-r2.ebuild 1294
+MD5 d7505360c7ccc7932672f8dcf43ca44b libwww-5.4.0-r2.ebuild 1337
+MD5 472a19c2af59465b14055cb3975d483b ChangeLog 3708
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
-MD5 0574df1c92b0ba01596bcf1bc435cea0 ChangeLog 3529
+MD5 e99f48d15e0834666b84203b48805872 files/libwww-config-liborder.patch 776
MD5 23078d7f8b1327132caea8473ffae786 files/digest-libwww-5.4.0-r1 66
MD5 078b6239f293e1cc65f3f977b3136317 files/digest-libwww-5.4.0-r2 151
MD5 507c03693bfa1c4f9974efbc3644c682 files/libwww-5.4.0-gentoo.diff 1089
-MD5 e99f48d15e0834666b84203b48805872 files/libwww-config-liborder.patch 776
+MD5 1866b237427a244b9923469b52f54473 files/libwww-5.4.0-autoconf-gentoo.diff 1089
diff --git a/net-libs/libwww/files/libwww-5.4.0-autoconf-gentoo.diff b/net-libs/libwww/files/libwww-5.4.0-autoconf-gentoo.diff
new file mode 100644
index 000000000000..38b08d6a9468
--- /dev/null
+++ b/net-libs/libwww/files/libwww-5.4.0-autoconf-gentoo.diff
@@ -0,0 +1,33 @@
+diff -urN w3c-libwww-5.4.0.ORIG/configure.ac w3c-libwww-5.4.0/configure.ac
+--- w3c-libwww-5.4.0.ORIG/configure.ac 2004-03-13 00:45:36.985124000 +0900
++++ w3c-libwww-5.4.0/configure.ac 2004-03-13 00:49:13.225250888 +0900
+@@ -623,19 +623,16 @@
+ ssllib="-L/usr/lib -lssl -lcrypto"
+ fi
+ dnl find the ssl include dir (empirical)
+-if test -d '/usr/local/ssl/include'; then
+- sslinc="-I/usr/local/ssl/include"
+-elif test -d '/usr/local/openssl/include'; then
+- sslinc="-I/usr/local/openssl/include"
+-elif test -d '/usr/local/include/openssl'; then
+- sslinc="-I/usr/local/include/openssl"
+-elif test -d '/usr/include/ssl'; then
+- sslinc="-I/usr/include/ssl"
+-elif test -d '/usr/include/openssl'; then
+- sslinc="-I/usr/include/openssl"
+-else
+- sslinc=""
+-fi
++ssldir=""
++for ssldir in /usr/local/ssl/include \
++ /usr/local/openssl/include \
++ /usr/local/include/openssl \
++ /usr/include/ssl \
++ /usr/include/openssl ; do
++ if test -d $ssldir -a -f $ssldir/ssl.h ; then
++ sslinc="-I$ssldir"
++ fi
++done
+ WWWSSL=""
+ SSLINC=""
+ LIBSSL=""
diff --git a/net-libs/libwww/libwww-5.4.0-r2.ebuild b/net-libs/libwww/libwww-5.4.0-r2.ebuild
index d279afe76c05..bd20d1fc1d99 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 Technologies, Inc.
# 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.8 2004/03/09 23:32:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libwww/libwww-5.4.0-r2.ebuild,v 1.9 2004/03/12 16:34:55 usata Exp $
inherit eutils
@@ -30,6 +30,7 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${PN}-config-liborder.patch
epatch ${WORKDIR}/${P}-debian-autoconf-2.5.patch
+ epatch ${FILESDIR}/${P}-autoconf-gentoo.diff
libtoolize -c -f || die "libtoolize failed"
aclocal || die "aclocal failed"