summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad House <brad_mssw@gentoo.org>2003-11-08 17:26:07 +0000
committerBrad House <brad_mssw@gentoo.org>2003-11-08 17:26:07 +0000
commit087da1ca81e44fdd6ccb01b3ae927fe280af80e6 (patch)
tree2b24d757e648a151e81fca66d0a40376311bf5ab /sys-libs
parentappend-flags -fPIC for amd64 (diff)
downloadgentoo-2-087da1ca81e44fdd6ccb01b3ae927fe280af80e6.tar.gz
gentoo-2-087da1ca81e44fdd6ccb01b3ae927fe280af80e6.tar.bz2
gentoo-2-087da1ca81e44fdd6ccb01b3ae927fe280af80e6.zip
-fPIC for static as well as shared libs
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/ncurses/ChangeLog5
-rw-r--r--sys-libs/ncurses/Manifest4
-rw-r--r--sys-libs/ncurses/ncurses-5.3-r4.ebuild10
3 files changed, 15 insertions, 4 deletions
diff --git a/sys-libs/ncurses/ChangeLog b/sys-libs/ncurses/ChangeLog
index 42d5f2edb26a..1afc792d6cce 100644
--- a/sys-libs/ncurses/ChangeLog
+++ b/sys-libs/ncurses/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/ncurses
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ChangeLog,v 1.36 2003/11/05 00:59:40 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ChangeLog,v 1.37 2003/11/08 17:26:05 brad_mssw Exp $
+
+ 08 Nov 2003; Brad House <brad_mssw@gentoo.org> ncurses-5.3-r4.ebuild:
+ need -fPIC for amd64 for building static libs as well as shared libs
04 Nov 2003; Brad House <brad_mssw@gentoo.org> ncurses-5.3-r4.ebuild:
mark stable on amd64
diff --git a/sys-libs/ncurses/Manifest b/sys-libs/ncurses/Manifest
index 3e87b2d17480..5a95cc96b20d 100644
--- a/sys-libs/ncurses/Manifest
+++ b/sys-libs/ncurses/Manifest
@@ -1,8 +1,8 @@
-MD5 01e2a7581de1379e4c0155eab8d323d2 ChangeLog 6310
+MD5 f365945821f8f767c8facdf6c2f93482 ChangeLog 6454
MD5 84416ce1d0742a77b65da8499a15d79c ncurses-5.3-r1.ebuild 2314
MD5 59ef298b9157dbb65ae85caabec27329 ncurses-5.3-r2.ebuild 2398
MD5 91a6200252ff9ebfdbb852533b5180a3 ncurses-5.3-r3.ebuild 2615
-MD5 505adf74dcc1cc79fce375a378c9ae02 ncurses-5.3-r4.ebuild 2652
+MD5 a6f2a71a287bf2279fc8596e478cf3d3 ncurses-5.3-r4.ebuild 2854
MD5 cd8a694247cfd64ce864e99246a8d87f files/digest-ncurses-5.3-r1 64
MD5 cd8a694247cfd64ce864e99246a8d87f files/digest-ncurses-5.3-r2 64
MD5 cd8a694247cfd64ce864e99246a8d87f files/digest-ncurses-5.3-r3 64
diff --git a/sys-libs/ncurses/ncurses-5.3-r4.ebuild b/sys-libs/ncurses/ncurses-5.3-r4.ebuild
index 2937ab262ea3..b09d3f4272b5 100644
--- a/sys-libs/ncurses/ncurses-5.3-r4.ebuild
+++ b/sys-libs/ncurses/ncurses-5.3-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.3-r4.ebuild,v 1.6 2003/11/05 00:59:40 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.3-r4.ebuild,v 1.7 2003/11/08 17:26:05 brad_mssw Exp $
inherit eutils flag-o-matic
filter-flags -fno-exceptions
@@ -24,6 +24,14 @@ src_unpack() {
src_compile() {
[ `use debug` ] && myconf="${myconf} --without-debug"
+ # Shared objects are compiled properly with -fPIC, but
+ # standard libs also require this.
+ if [ "${ARCH}" = "amd64" ]
+ then
+ append-flags -fPIC
+ fi
+
+
# From version 5.3, ncurses also build c++ bindings, and as
# we do not have a c++ compiler during bootstrap, disable
# building it. We will rebuild ncurses after gcc's second