diff options
-rw-r--r-- | sys-devel/libperl/ChangeLog | 5 | ||||
-rw-r--r-- | sys-devel/libperl/libperl-5.10.1.ebuild | 12 |
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 +} |