summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-12-31 02:28:18 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-12-31 02:28:18 +0000
commit149905180a2cb365377edfc5f555e0ad3facae77 (patch)
treeec00039bfa96e44376f671a5215c4891972b37bb /app-crypt/gnupg/gnupg-1.2.6.ebuild
parentAdding missing metadata.xml. Package is up to date. (diff)
downloadhistorical-149905180a2cb365377edfc5f555e0ad3facae77.tar.gz
historical-149905180a2cb365377edfc5f555e0ad3facae77.tar.bz2
historical-149905180a2cb365377edfc5f555e0ad3facae77.zip
PIC patch added thanks to Peter S. Mazinger <ps.m@gmx.net> in bug #74521
Diffstat (limited to 'app-crypt/gnupg/gnupg-1.2.6.ebuild')
-rw-r--r--app-crypt/gnupg/gnupg-1.2.6.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-crypt/gnupg/gnupg-1.2.6.ebuild b/app-crypt/gnupg/gnupg-1.2.6.ebuild
index 9f7be21ec381..4b0b4eb1bafa 100644
--- a/app-crypt/gnupg/gnupg-1.2.6.ebuild
+++ b/app-crypt/gnupg/gnupg-1.2.6.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/app-crypt/gnupg/gnupg-1.2.6.ebuild,v 1.16 2004/12/07 12:54:06 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.2.6.ebuild,v 1.17 2004/12/31 02:28:18 dragonheart Exp $
inherit eutils flag-o-matic
@@ -40,6 +40,9 @@ src_unpack() {
fi
use ppc64 && epatch ${FILESDIR}/gnupg-1.2.4.ppc64.patch
+ cd ${S}
+ sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c
+ sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S
}
src_compile() {
@@ -73,8 +76,6 @@ src_compile() {
if use static; then
myconf="${myconf} --with-included-zlib"
append-ldflags -static
- else
- myconf="${myconf} --without-included-zlib"
fi
# Still needed?