summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-27 06:29:27 +0000
committerJustin Lecher <jlec@gentoo.org>2012-07-27 06:29:27 +0000
commit522de071b429e69a2188446d00fed0883529deaa (patch)
treee5a1c1c5d0a7985c0deb5dc0ea578850ea77b840 /media-libs
parentmarked x86 per bug 428080 (diff)
downloadgentoo-2-522de071b429e69a2188446d00fed0883529deaa.tar.gz
gentoo-2-522de071b429e69a2188446d00fed0883529deaa.tar.bz2
gentoo-2-522de071b429e69a2188446d00fed0883529deaa.zip
media-libs/sk1libs: Fix for directory blocking installation of symlink, #428166
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sk1libs/ChangeLog5
-rw-r--r--media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild9
2 files changed, 10 insertions, 4 deletions
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 <jlec@gentoo.org> 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
}