summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-09-27 11:00:50 +0000
committerTorsten Veller <tove@gentoo.org>2009-09-27 11:00:50 +0000
commit28375a22b9bac07da1bd0a5a8f7c56b433c4e75b (patch)
tree6a6967f6bc71e627a0a2f88362d7c8e1b5fc8c5e
parentReword postinstall message to be PORTAGE_COMPRESS independent, bug 274248 (diff)
downloadgentoo-2-28375a22b9bac07da1bd0a5a8f7c56b433c4e75b.tar.gz
gentoo-2-28375a22b9bac07da1bd0a5a8f7c56b433c4e75b.tar.bz2
gentoo-2-28375a22b9bac07da1bd0a5a8f7c56b433c4e75b.zip
Remove orphaned symbolic link
(Portage version: 2.2_rc41/cvs/Linux x86_64)
-rw-r--r--sys-devel/libperl/ChangeLog5
-rw-r--r--sys-devel/libperl/libperl-5.10.1.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/sys-devel/libperl/ChangeLog b/sys-devel/libperl/ChangeLog
index fd0b09bbb9ba..a2770c4eb2ef 100644
--- a/sys-devel/libperl/ChangeLog
+++ b/sys-devel/libperl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/libperl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/ChangeLog,v 1.140 2009/09/27 08:36:35 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/ChangeLog,v 1.141 2009/09/27 11:00:50 tove Exp $
+
+ 27 Sep 2009; Torsten Veller <tove@gentoo.org> libperl-5.10.1.ebuild:
+ Remove orphaned symbolic link
*libperl-5.10.1 (27 Sep 2009)
diff --git a/sys-devel/libperl/libperl-5.10.1.ebuild b/sys-devel/libperl/libperl-5.10.1.ebuild
index 3a8f5dca0e5a..555e008ab09d 100644
--- a/sys-devel/libperl/libperl-5.10.1.ebuild
+++ b/sys-devel/libperl/libperl-5.10.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.10.1.ebuild,v 1.1 2009/09/27 08:36:35 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.10.1.ebuild,v 1.2 2009/09/27 11:00:50 tove Exp $
+
+inherit multilib
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
SRC_URI=""
@@ -12,3 +14,11 @@ KEYWORDS=""
IUSE=""
PDEPEND=">=dev-lang/perl-5.10.1"
+
+pkg_postinst() {
+ if [[ -h ${ROOT}/usr/$(get_libdir )/libperl$(get_libname) && \
+ ! -e ${ROOT}/usr/$(get_libdir )/libperl$(get_libname) ]] ; then
+ einfo "Remove symbolic link: ${ROOT}usr/$(get_libdir)/libperl$(get_libname)"
+ rm "${ROOT}"/usr/$(get_libdir )/libperl$(get_libname)
+ fi
+}