summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-04-07 19:35:08 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-04-07 19:35:08 +0000
commit9b92017cad25fcba359cd742e410a3b9925e3425 (patch)
tree297b096cb2e11cf0403ce85253fee0b2d67e41d8 /media-libs/freetype
parentcompilefix >=vdr-1.7.27 (diff)
downloadgentoo-2-9b92017cad25fcba359cd742e410a3b9925e3425.tar.gz
gentoo-2-9b92017cad25fcba359cd742e410a3b9925e3425.tar.bz2
gentoo-2-9b92017cad25fcba359cd742e410a3b9925e3425.zip
Remove libfreetype.la libtool archive in favour of using Libs.private: from freetype2.pc pkg-config file to gain libraries for static linking.
(Portage version: 2.2.0_alpha99/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/ChangeLog6
-rw-r--r--media-libs/freetype/freetype-2.4.9-r1.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog
index a7fc095d8aa8..50cc24562418 100644
--- a/media-libs/freetype/ChangeLog
+++ b/media-libs/freetype/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/freetype
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.330 2012/03/21 04:24:42 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.331 2012/04/07 19:35:08 ssuominen Exp $
+
+ 07 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> freetype-2.4.9-r1.ebuild:
+ Remove libfreetype.la libtool archive in favour of using Libs.private: from
+ freetype2.pc pkg-config file to gain libraries for static linking.
*freetype-2.4.9-r1 (21 Mar 2012)
diff --git a/media-libs/freetype/freetype-2.4.9-r1.ebuild b/media-libs/freetype/freetype-2.4.9-r1.ebuild
index 100c90aa7dbd..2756bfe67acb 100644
--- a/media-libs/freetype/freetype-2.4.9-r1.ebuild
+++ b/media-libs/freetype/freetype-2.4.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.9-r1.ebuild,v 1.1 2012/03/21 04:24:43 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.9-r1.ebuild,v 1.2 2012/04/07 19:35:08 ssuominen Exp $
EAPI="4"
@@ -106,6 +106,10 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install
+ # This is replaced by Libs.private: from freetype2.pc for static linking:
+ # pkg-config --static --libs freetype2
+ rm -f "${ED}"/usr/lib*/libfreetype.la
+
dodoc ChangeLog README
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PROBLEMS,TODO}