diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-12 05:43:47 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-12 05:43:47 +0000 |
commit | 6897f3ab850439dee35e9278a3d2ec6fae0aa5a7 (patch) | |
tree | 59f7749fa9eadbc7bfb8497af214490027276229 /media-libs/freeimage | |
parent | Define prefix USE flag in use.desc. Mask prefix USE flag in base/use.mask so ... (diff) | |
download | gentoo-2-6897f3ab850439dee35e9278a3d2ec6fae0aa5a7.tar.gz gentoo-2-6897f3ab850439dee35e9278a3d2ec6fae0aa5a7.tar.bz2 gentoo-2-6897f3ab850439dee35e9278a3d2ec6fae0aa5a7.zip |
EAPI=2; Skip calling ldconfig during install (bug #269493); silence gcc warnings
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'media-libs/freeimage')
-rw-r--r-- | media-libs/freeimage/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/freeimage/freeimage-3.11.0.ebuild | 11 |
2 files changed, 11 insertions, 6 deletions
diff --git a/media-libs/freeimage/ChangeLog b/media-libs/freeimage/ChangeLog index f09c0d9d205f..f923fb4100c3 100644 --- a/media-libs/freeimage/ChangeLog +++ b/media-libs/freeimage/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/freeimage # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/ChangeLog,v 1.8 2009/04/02 23:07:43 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/ChangeLog,v 1.9 2009/05/12 05:43:47 mr_bones_ Exp $ + + 12 May 2009; Michael Sterrett <mr_bones_@gentoo.org> + freeimage-3.11.0.ebuild: + EAPI=2; Skip calling ldconfig during install (bug #269493); silence gcc warnings 02 Apr 2009; Tristan Heaven <nyhm@gentoo.org> freeimage-3.11.0.ebuild: Build with -fPIC, bug #252766 diff --git a/media-libs/freeimage/freeimage-3.11.0.ebuild b/media-libs/freeimage/freeimage-3.11.0.ebuild index 3c6e77a60a42..6457e25e2575 100644 --- a/media-libs/freeimage/freeimage-3.11.0.ebuild +++ b/media-libs/freeimage/freeimage-3.11.0.ebuild @@ -1,8 +1,9 @@ # 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.4 2009/04/02 23:07:43 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/freeimage-3.11.0.ebuild,v 1.5 2009/05/12 05:43:47 mr_bones_ Exp $ -inherit toolchain-funcs multilib +EAPI=2 +inherit flag-o-matic toolchain-funcs multilib MY_PN=FreeImage MY_P=${MY_PN}${PV//.} @@ -21,10 +22,10 @@ RDEPEND="" S=${WORKDIR}/${MY_PN} -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { + CFLAGS="$CFLAGS -std=c99 -D_POSIX_SOURCE" # silence warnings from gcc sed -i \ + -e '/ldconfig/d' \ -e "/^CC =/s:gcc:$(tc-getCC) ${CFLAGS} -Wall:" \ -e "/^CXX =/s:g++:$(tc-getCXX) ${CXXFLAGS} -Wall:" \ -e "/^AR = /s:ar:$(tc-getAR):" \ |