summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-04-02 23:07:43 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-04-02 23:07:43 +0000
commit291995d9af76a84d0b92f00faba33f96f0c47f3a (patch)
tree3ebe98c5defd09395d3f3171f301a9fd43e5b085 /media-libs/freeimage/freeimage-3.11.0.ebuild
parentSYMLINK_LIB is already set by features/multilib (diff)
downloadgentoo-2-291995d9af76a84d0b92f00faba33f96f0c47f3a.tar.gz
gentoo-2-291995d9af76a84d0b92f00faba33f96f0c47f3a.tar.bz2
gentoo-2-291995d9af76a84d0b92f00faba33f96f0c47f3a.zip
Build with -fPIC, bug #252766
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'media-libs/freeimage/freeimage-3.11.0.ebuild')
-rw-r--r--media-libs/freeimage/freeimage-3.11.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/freeimage/freeimage-3.11.0.ebuild b/media-libs/freeimage/freeimage-3.11.0.ebuild
index c93290f9c414..3c6e77a60a42 100644
--- a/media-libs/freeimage/freeimage-3.11.0.ebuild
+++ b/media-libs/freeimage/freeimage-3.11.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/freeimage-3.11.0.ebuild,v 1.3 2009/04/01 18:31:01 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/freeimage-3.11.0.ebuild,v 1.4 2009/04/02 23:07:43 nyhm Exp $
inherit toolchain-funcs multilib
@@ -30,7 +30,7 @@ src_unpack() {
-e "/^AR = /s:ar:$(tc-getAR):" \
-e "/^INCDIR = /s:/usr/include:${D}/usr/include:" \
-e "/^INSTALLDIR = /s:/usr/lib:${D}/usr/$(get_libdir):" \
- -e '/^COMPILERFLAGS =/s:-O3::' \
+ -e '/^COMPILERFLAGS =/s:-O3:-fPIC:' \
-e "/\$(CC) -s /s: -s : ${LDFLAGS} :" \
Makefile.{gnu,fip} \
|| die "sed failed"