public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Torsten Veller (tove)" <tove@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/libperl: ChangeLog libperl-5.10.1.ebuild
Date: Wed, 07 Oct 2009 09:19:31 +0000	[thread overview]
Message-ID: <E1MvSgF-00057j-2U@stork.gentoo.org> (raw)

tove        09/10/07 09:19:31

  Modified:             ChangeLog libperl-5.10.1.ebuild
  Log:
  Different way to remove libperl link. Needed for perserve-libs
  (Portage version: 2.2_rc43/cvs/Linux x86_64)

Revision  Changes    Path
1.142                sys-devel/libperl/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/libperl/ChangeLog?rev=1.142&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/libperl/ChangeLog?rev=1.142&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/libperl/ChangeLog?r1=1.141&r2=1.142

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/libperl/ChangeLog,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -r1.141 -r1.142
--- ChangeLog	27 Sep 2009 11:00:50 -0000	1.141
+++ ChangeLog	7 Oct 2009 09:19:30 -0000	1.142
@@ -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.141 2009/09/27 11:00:50 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/ChangeLog,v 1.142 2009/10/07 09:19:30 tove Exp $
+
+  07 Oct 2009; Torsten Veller <tove@gentoo.org> libperl-5.10.1.ebuild:
+  Different way to remove libperl link. Needed for perserve-libs
 
   27 Sep 2009; Torsten Veller <tove@gentoo.org> libperl-5.10.1.ebuild:
   Remove orphaned symbolic link



1.3                  sys-devel/libperl/libperl-5.10.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/libperl/libperl-5.10.1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/libperl/libperl-5.10.1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/libperl/libperl-5.10.1.ebuild?r1=1.2&r2=1.3

Index: libperl-5.10.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.10.1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libperl-5.10.1.ebuild	27 Sep 2009 11:00:50 -0000	1.2
+++ libperl-5.10.1.ebuild	7 Oct 2009 09:19:30 -0000	1.3
@@ -1,6 +1,6 @@
 # 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.2 2009/09/27 11:00:50 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.10.1.ebuild,v 1.3 2009/10/07 09:19:30 tove Exp $
 
 inherit multilib
 
@@ -16,9 +16,8 @@
 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)"
+	if [[ $(readlink "${ROOT}/usr/$(get_libdir )/libperl$(get_libname)" ) == libperl$(get_libname).1 ]] ; then
+		einfo "Removing stale symbolic link: ${ROOT}usr/$(get_libdir)/libperl$(get_libname)"
 		rm "${ROOT}"/usr/$(get_libdir )/libperl$(get_libname)
 	fi
 }






             reply	other threads:[~2009-10-07  9:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07  9:19 Torsten Veller (tove) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-11-13 16:05 [gentoo-commits] gentoo-x86 commit in sys-devel/libperl: ChangeLog libperl-5.10.1.ebuild Raul Porcel (armin76)
2010-10-24 21:23 Markus Meier (maekke)
2010-10-24 18:22 Jeroen Roovers (jer)
2010-10-24 14:07 Brent Baude (ranger)
2010-10-22 18:32 Samuli Suominen (ssuominen)
2010-10-22 17:57 Markos Chandras (hwoarang)
2010-10-22 17:42 Christian Faulhammer (fauli)
2010-09-20  2:17 Mart Raudsepp (leio)
2010-03-14 15:50 Alexis Ballier (aballier)
2009-12-11 14:25 Brent Baude (ranger)
2009-12-09 18:08 Raul Porcel (armin76)
2009-11-16 20:19 Raul Porcel (armin76)
2009-11-15 19:21 Raul Porcel (armin76)
2009-10-27 17:14 Mounir Lamouri (volkmar)
2009-10-21 19:42 Markus Meier (maekke)
2009-10-13  1:49 Jeroen Roovers (jer)
2009-09-27 11:00 Torsten Veller (tove)
2009-09-27  8:36 Torsten Veller (tove)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1MvSgF-00057j-2U@stork.gentoo.org \
    --to=tove@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox