summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2005-07-10 00:40:58 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2005-07-10 00:40:58 +0000
commit15b5b2407b42b7cd76bb6c4e1e05aee9d1e2cea1 (patch)
tree474a15c74240f550283e5fe9756ed124bab8401f /www-misc
parentsci herd is taking over maintainance (diff)
downloadgentoo-2-15b5b2407b42b7cd76bb6c4e1e05aee9d1e2cea1.tar.gz
gentoo-2-15b5b2407b42b7cd76bb6c4e1e05aee9d1e2cea1.tar.bz2
gentoo-2-15b5b2407b42b7cd76bb6c4e1e05aee9d1e2cea1.zip
Fixed BUG #98357 (-fPIC).
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/htdig/ChangeLog6
-rw-r--r--www-misc/htdig/files/htdig-3.2.0-fpic.patch20
-rw-r--r--www-misc/htdig/htdig-3.2.0_beta6.ebuild15
3 files changed, 39 insertions, 2 deletions
diff --git a/www-misc/htdig/ChangeLog b/www-misc/htdig/ChangeLog
index b9aa5acff457..f9deb977bcc4 100644
--- a/www-misc/htdig/ChangeLog
+++ b/www-misc/htdig/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-misc/htdig
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.9 2005/07/06 21:40:24 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.10 2005/07/10 00:40:58 kugelfang Exp $
+
+ 10 Jul 2005; Danny van Dyk <kugelfang@gentoo.org>
+ +files/htdig-3.2.0-fpic.patch, htdig-3.2.0_beta6.ebuild:
+ Fixed BUG #98357 (-fPIC).
*htdig-3.2.0_beta6 (06 Jul 2005)
diff --git a/www-misc/htdig/files/htdig-3.2.0-fpic.patch b/www-misc/htdig/files/htdig-3.2.0-fpic.patch
new file mode 100644
index 000000000000..ed95a72bd63f
--- /dev/null
+++ b/www-misc/htdig/files/htdig-3.2.0-fpic.patch
@@ -0,0 +1,20 @@
+--- db/Makefile.am.orig 2005-07-10 01:27:24.000000000 +0200
++++ db/Makefile.am 2005-07-10 01:27:58.000000000 +0200
+@@ -137,6 +137,7 @@
+ xa_db.c \
+ xa_map.c
+
++libhtdb_la_CFLAGS = -fPIC -DPIC
+ libhtdb_la_LDFLAGS = -release $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)
+
+ pkginclude_HEADERS = \
+--- htlib/Makefile.am.orig 2005-07-10 02:21:10.000000000 +0200
++++ htlib/Makefile.am 2005-07-10 02:21:29.000000000 +0200
+@@ -20,6 +20,7 @@
+ libht_la_LIBADD=@LTLIBOBJS@
+ # this includes regex.c
+
++libht_la_CFLAGS = -fPIC -DPIC
+ libht_la_LDFLAGS = -release $(HTDIG_MAJOR_VERSION).$(HTDIG_MINOR_VERSION).$(HTDIG_MICRO_VERSION) ${extra_ldflags}
+
+ pkginclude_HEADERS = \
diff --git a/www-misc/htdig/htdig-3.2.0_beta6.ebuild b/www-misc/htdig/htdig-3.2.0_beta6.ebuild
index 0bbfd2e29ec2..73b9659a2396 100644
--- a/www-misc/htdig/htdig-3.2.0_beta6.ebuild
+++ b/www-misc/htdig/htdig-3.2.0_beta6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/htdig-3.2.0_beta6.ebuild,v 1.1 2005/07/06 21:40:24 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/htdig-3.2.0_beta6.ebuild,v 1.2 2005/07/10 00:40:58 kugelfang Exp $
inherit webapp eutils flag-o-matic
@@ -19,7 +19,20 @@ DEPEND="${RDEPEND}"
export CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Fixes BUG #98357
+ epatch ${FILESDIR}/${P/_*/}-fpic.patch
+}
+
src_compile() {
+ # BUG #98357
+ automake --add-missing --copy || die "automake failed"
+ cd ${S}/db
+ automake --add-missing --copy || die "automake failed in db/"
+
+ cd ${S}
append-flags -Wno-deprecated
./configure \