From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 87B871389E2 for ; Fri, 19 Dec 2014 18:52:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB56EE0B02; Fri, 19 Dec 2014 18:52:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D24EE0B02 for ; Fri, 19 Dec 2014 18:52:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75C31340695 for ; Fri, 19 Dec 2014 18:52:47 +0000 (UTC) Received: by oystercatcher.gentoo.org (Postfix, from userid 2276) id 2B5ABCDC8; Fri, 19 Dec 2014 18:52:46 +0000 (UTC) From: "Andreas HAttel (dilfridge)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, dilfridge@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/perl/files/eblits: src_install-v50200001.eblit X-VCS-Repository: gentoo-x86 X-VCS-Files: src_install-v50200001.eblit X-VCS-Directories: dev-lang/perl/files/eblits X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas HAttel Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20141219185246.2B5ABCDC8@oystercatcher.gentoo.org> Date: Fri, 19 Dec 2014 18:52:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7b7a8b70-79fc-4f5d-9198-a54e6797ed42 X-Archives-Hash: e8ad54d973ec4b48a1aba9778ea0e739 dilfridge 14/12/19 18:52:46 Added: src_install-v50200001.eblit Log: Make perl5.20.1 a symlink to perl, not the other way around, bug 527380 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!) Revision Changes Path 1.1 dev-lang/perl/files/eblits/src_install-v50200001.eblit file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50200001.eblit?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50200001.eblit?rev=1.1&content-type=text/plain Index: src_install-v50200001.eblit =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50200001.eblit,v 1.1 2014/12/19 18:52:46 dilfridge Exp $ eblit-perl-src_install() { local i local coredir="${ARCH_LIB}/CORE" emake DESTDIR="${D}" install rm -f "${ED}/usr/bin/perl${MY_PV}" ln -s perl "${ED}"/usr/bin/perl${MY_PV} || die if ! tc-is-static-only ; then dolib.so "${ED}"${coredir}/${LIBPERL} rm -f "${ED}"${coredir}/${LIBPERL} ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die fi rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages" # This removes ${D} from Config.pm for i in $(find "${D}" -iname "Config.pm" ) ; do einfo "Removing ${D} from ${i}..." sed -i -e "s:${D}::" "${i}" || die "Sed failed" done find "${ED}" -type f -name .packlist -delete || die dodoc Changes* README AUTHORS if use doc ; then # HTML Documentation # We expect errors, warnings, and such with the following. dodir /usr/share/doc/${PF}/html LD_LIBRARY_PATH=. ./perl installhtml \ --podroot='.' \ --podpath='lib:ext:pod:vms' \ --recurse \ --htmldir="${ED}/usr/share/doc/${PF}/html" fi [[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local dual_scripts }