From 522de071b429e69a2188446d00fed0883529deaa Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 27 Jul 2012 06:29:27 +0000 Subject: media-libs/sk1libs: Fix for directory blocking installation of symlink, #428166 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) --- media-libs/sk1libs/ChangeLog | 5 ++++- media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild | 9 ++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'media-libs') diff --git a/media-libs/sk1libs/ChangeLog b/media-libs/sk1libs/ChangeLog index ad471f7704a7..8f253de64a53 100644 --- a/media-libs/sk1libs/ChangeLog +++ b/media-libs/sk1libs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/sk1libs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sk1libs/ChangeLog,v 1.16 2012/07/26 09:26:18 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/sk1libs/ChangeLog,v 1.17 2012/07/27 06:29:27 jlec Exp $ + + 27 Jul 2012; Justin Lecher sk1libs-0.9.1-r1.ebuild: + Fix for directory blocking installation of symlink, #428166 *sk1libs-0.9.1-r1 (26 Jul 2012) diff --git a/media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild b/media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild index 1a0bc04d645c..141d12f1a118 100644 --- a/media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild +++ b/media-libs/sk1libs/sk1libs-0.9.1-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/sk1libs/sk1libs-0.9.1-r1.ebuild,v 1.1 2012/07/26 09:26:18 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild,v 1.2 2012/07/27 06:29:27 jlec Exp $ EAPI="3" @@ -38,8 +38,11 @@ src_install() { distutils_src_install font-fixation() { - rm -rf "${ED}"/$(python_get_sitedir)/sk1libs/ft2engine/fallback_fonts - dosym /usr/share/fonts/ttf-bitstream-vera $(python_get_sitedir)/sk1libs/ft2engine/fallback_fonts + local ttf + for ttf in "${ED}"/$(python_get_sitedir)/sk1libs/ft2engine/fallback_fonts/*.ttf; do + rm -f "${ttf}" || die + dosym /usr/share/fonts/ttf-bitstream-vera/$(basename "${ttf}") $(python_get_sitedir)/sk1libs/ft2engine/fallback_fonts/$(basename "${ttf}") + done } python_execute_function font-fixation } -- cgit v1.2.3-65-gdbad