diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-09-01 20:15:23 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-01 20:15:23 +0000 |
commit | c60cc5d56299f015f2a5326be79d6809e93cc227 (patch) | |
tree | e39d76f27b94a39ddae2934d806168939efb977e /sys-apps | |
parent | Remove old versions. (diff) | |
download | gentoo-2-c60cc5d56299f015f2a5326be79d6809e93cc227.tar.gz gentoo-2-c60cc5d56299f015f2a5326be79d6809e93cc227.tar.bz2 gentoo-2-c60cc5d56299f015f2a5326be79d6809e93cc227.zip |
Install in /usr/lib instead of using multilib get_libdir, since current versions of portage are do not install any ELF binaries.
(Portage version: 2.2.0_alpha123/cvs/Linux i686)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/portage/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.1.11.12.ebuild | 13 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.1.11.9.ebuild | 13 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.1.6.7_p1.ebuild | 21 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.2.0_alpha120.ebuild | 13 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.2.0_alpha123.ebuild | 13 | ||||
-rw-r--r-- | sys-apps/portage/portage-9999.ebuild | 13 |
7 files changed, 35 insertions, 60 deletions
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog index c4dea152ef9e..df8f725280f5 100644 --- a/sys-apps/portage/ChangeLog +++ b/sys-apps/portage/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/portage # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.1081 2012/09/01 19:58:14 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.1082 2012/09/01 20:15:23 zmedico Exp $ + + 01 Sep 2012; Zac Medico <zmedico@gentoo.org> portage-2.1.11.12.ebuild, + portage-2.1.11.9.ebuild, portage-2.1.6.7_p1.ebuild, + portage-2.2.0_alpha120.ebuild, portage-2.2.0_alpha123.ebuild, + portage-9999.ebuild: + Install in /usr/lib instead of using multilib get_libdir, since current + versions of portage are do not install any ELF binaries. 01 Sep 2012; Zac Medico <zmedico@gentoo.org> -portage-2.1.11.11.ebuild, -portage-2.2.0_alpha122.ebuild: diff --git a/sys-apps/portage/portage-2.1.11.12.ebuild b/sys-apps/portage/portage-2.1.11.12.ebuild index dc0091da02a2..08c2878c3cbe 100644 --- a/sys-apps/portage/portage-2.1.11.12.ebuild +++ b/sys-apps/portage/portage-2.1.11.12.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.11.12.ebuild,v 1.1 2012/08/26 23:08:55 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.11.12.ebuild,v 1.2 2012/09/01 20:15:23 zmedico Exp $ # Require EAPI 2 since we now require at least python-2.6 (for python 3 # syntax support) which also requires EAPI 2. EAPI=2 -inherit eutils multilib python +inherit eutils python DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" @@ -98,10 +98,6 @@ current_python_has_xattr() { } pkg_setup() { - # Bug #359731 - Die early if get_libdir fails. - [[ -z $(get_libdir) ]] && \ - die "get_libdir returned an empty string" - if use python2 && use python3 ; then ewarn "Both python2 and python3 USE flags are enabled, but only one" ewarn "can be in the shebangs. Using python3." @@ -221,7 +217,6 @@ src_install() { emake DESTDIR="${D}" \ sysconfdir="/etc" \ prefix="/usr" \ - libdir="/usr/$(get_libdir)" \ install || die # Use dodoc for compression, since the Makefile doesn't do that. @@ -279,9 +274,9 @@ pkg_preinst() { pkg_postinst() { # Compile all source files recursively. Any orphans # will be identified and removed in postrm. - python_mod_optimize /usr/$(get_libdir)/portage/pym + python_mod_optimize /usr/lib/portage/pym } pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/portage/pym + python_mod_cleanup /usr/lib/portage/pym } diff --git a/sys-apps/portage/portage-2.1.11.9.ebuild b/sys-apps/portage/portage-2.1.11.9.ebuild index 9f65a1cafcd1..fca770d18653 100644 --- a/sys-apps/portage/portage-2.1.11.9.ebuild +++ b/sys-apps/portage/portage-2.1.11.9.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.11.9.ebuild,v 1.8 2012/08/26 19:15:17 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.11.9.ebuild,v 1.9 2012/09/01 20:15:23 zmedico Exp $ # Require EAPI 2 since we now require at least python-2.6 (for python 3 # syntax support) which also requires EAPI 2. EAPI=2 -inherit eutils multilib python +inherit eutils python DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" @@ -98,10 +98,6 @@ current_python_has_xattr() { } pkg_setup() { - # Bug #359731 - Die early if get_libdir fails. - [[ -z $(get_libdir) ]] && \ - die "get_libdir returned an empty string" - if use python2 && use python3 ; then ewarn "Both python2 and python3 USE flags are enabled, but only one" ewarn "can be in the shebangs. Using python3." @@ -221,7 +217,6 @@ src_install() { emake DESTDIR="${D}" \ sysconfdir="/etc" \ prefix="/usr" \ - libdir="/usr/$(get_libdir)" \ install || die # Use dodoc for compression, since the Makefile doesn't do that. @@ -282,9 +277,9 @@ pkg_preinst() { pkg_postinst() { # Compile all source files recursively. Any orphans # will be identified and removed in postrm. - python_mod_optimize /usr/$(get_libdir)/portage/pym + python_mod_optimize /usr/lib/portage/pym } pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/portage/pym + python_mod_cleanup /usr/lib/portage/pym } diff --git a/sys-apps/portage/portage-2.1.6.7_p1.ebuild b/sys-apps/portage/portage-2.1.6.7_p1.ebuild index 1b34b9c87878..89e754857b34 100644 --- a/sys-apps/portage/portage-2.1.6.7_p1.ebuild +++ b/sys-apps/portage/portage-2.1.6.7_p1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.6.7_p1.ebuild,v 1.2 2012/08/04 19:57:41 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.6.7_p1.ebuild,v 1.3 2012/09/01 20:15:23 zmedico Exp $ -inherit eutils multilib python +inherit eutils python DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" @@ -64,12 +64,6 @@ done S="${WORKDIR}"/${PN}-${TARBALL_PV} S_PL="${WORKDIR}"/${PN}-${PV_PL} -pkg_setup() { - # Bug #359731 - Die early if get_libdir fails. - [[ -z $(get_libdir) ]] && \ - die "get_libdir returned an empty string" -} - src_unpack() { unpack ${A} cd "${S}" @@ -119,8 +113,7 @@ src_test() { } src_install() { - local libdir=$(get_libdir) - local portage_base="/usr/${libdir}/portage" + local portage_base="/usr/lib/portage" local portage_share_config=/usr/share/portage/config cd "${S}"/cnf @@ -191,14 +184,14 @@ src_install() { dodir /usr/bin for x in ebuild emerge portageq repoman xpak; do - dosym ../${libdir}/portage/bin/${x} /usr/bin/${x} + dosym ../lib/portage/bin/${x} /usr/bin/${x} done dodir /usr/sbin local x for x in archive-conf dispatch-conf emaint emerge-webrsync env-update \ etc-update fixpackages quickpkg regenworld ; do - dosym ../${libdir}/portage/bin/${x} /usr/sbin/${x} + dosym ../lib/portage/bin/${x} /usr/sbin/${x} done dosym env-update /usr/sbin/update-env dosym etc-update /usr/sbin/update-etc @@ -220,7 +213,7 @@ pkg_preinst() { pkg_postinst() { # Compile all source files recursively. Any orphans # will be identified and removed in postrm. - python_mod_optimize /usr/$(get_libdir)/portage/pym + python_mod_optimize /usr/lib/portage/pym local warning_shown=0 if [ $DOWNGRADE_FROM_2_2 = 0 ] ; then @@ -259,5 +252,5 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/portage/pym + python_mod_cleanup /usr/lib/portage/pym } diff --git a/sys-apps/portage/portage-2.2.0_alpha120.ebuild b/sys-apps/portage/portage-2.2.0_alpha120.ebuild index 275cf5c30369..93d6c6003e17 100644 --- a/sys-apps/portage/portage-2.2.0_alpha120.ebuild +++ b/sys-apps/portage/portage-2.2.0_alpha120.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha120.ebuild,v 1.2 2012/08/04 19:57:41 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha120.ebuild,v 1.3 2012/09/01 20:15:23 zmedico Exp $ # Require EAPI 2 since we now require at least python-2.6 (for python 3 # syntax support) which also requires EAPI 2. EAPI=3 -inherit eutils multilib python +inherit eutils python DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" @@ -98,10 +98,6 @@ current_python_has_xattr() { } pkg_setup() { - # Bug #359731 - Die early if get_libdir fails. - [[ -z $(get_libdir) ]] && \ - die "get_libdir returned an empty string" - if use python2 && use python3 ; then ewarn "Both python2 and python3 USE flags are enabled, but only one" ewarn "can be in the shebangs. Using python3." @@ -255,7 +251,6 @@ src_install() { emake DESTDIR="${D}" \ sysconfdir="${EPREFIX}/etc" \ prefix="${EPREFIX}/usr" \ - libdir="${EPREFIX}/usr/$(get_libdir)" \ install || die # Use dodoc for compression, since the Makefile doesn't do that. @@ -310,7 +305,7 @@ pkg_preinst() { pkg_postinst() { # Compile all source files recursively. Any orphans # will be identified and removed in postrm. - python_mod_optimize /usr/$(get_libdir)/portage/pym + python_mod_optimize /usr/lib/portage/pym if $WORLD_MIGRATION_UPGRADE && \ grep -q "^@" "${EROOT}/var/lib/portage/world"; then @@ -341,5 +336,5 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/portage/pym + python_mod_cleanup /usr/lib/portage/pym } diff --git a/sys-apps/portage/portage-2.2.0_alpha123.ebuild b/sys-apps/portage/portage-2.2.0_alpha123.ebuild index 1b1ff63f2c55..2e9bcf378d24 100644 --- a/sys-apps/portage/portage-2.2.0_alpha123.ebuild +++ b/sys-apps/portage/portage-2.2.0_alpha123.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha123.ebuild,v 1.1 2012/08/26 23:09:52 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha123.ebuild,v 1.2 2012/09/01 20:15:23 zmedico Exp $ # Require EAPI 2 since we now require at least python-2.6 (for python 3 # syntax support) which also requires EAPI 2. EAPI=3 -inherit eutils multilib python +inherit eutils python DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" @@ -98,10 +98,6 @@ current_python_has_xattr() { } pkg_setup() { - # Bug #359731 - Die early if get_libdir fails. - [[ -z $(get_libdir) ]] && \ - die "get_libdir returned an empty string" - if use python2 && use python3 ; then ewarn "Both python2 and python3 USE flags are enabled, but only one" ewarn "can be in the shebangs. Using python3." @@ -255,7 +251,6 @@ src_install() { emake DESTDIR="${D}" \ sysconfdir="${EPREFIX}/etc" \ prefix="${EPREFIX}/usr" \ - libdir="${EPREFIX}/usr/$(get_libdir)" \ install || die # Use dodoc for compression, since the Makefile doesn't do that. @@ -306,7 +301,7 @@ pkg_preinst() { pkg_postinst() { # Compile all source files recursively. Any orphans # will be identified and removed in postrm. - python_mod_optimize /usr/$(get_libdir)/portage/pym + python_mod_optimize /usr/lib/portage/pym if $WORLD_MIGRATION_UPGRADE && \ grep -q "^@" "${EROOT}/var/lib/portage/world"; then @@ -337,5 +332,5 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/portage/pym + python_mod_cleanup /usr/lib/portage/pym } diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index e6efdbd74892..f632124d9e79 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.55 2012/08/04 19:57:41 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.56 2012/09/01 20:15:23 zmedico Exp $ EAPI=3 -inherit git-2 eutils multilib python +inherit git-2 eutils python DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" @@ -81,10 +81,6 @@ current_python_has_xattr() { } pkg_setup() { - # Bug #359731 - Die early if get_libdir fails. - [[ -z $(get_libdir) ]] && \ - die "get_libdir returned an empty string" - if use python2 && use python3 ; then ewarn "Both python2 and python3 USE flags are enabled, but only one" ewarn "can be in the shebangs. Using python3." @@ -239,7 +235,6 @@ src_install() { emake DESTDIR="${D}" \ sysconfdir="${EPREFIX}/etc" \ prefix="${EPREFIX}/usr" \ - libdir="${EPREFIX}/usr/$(get_libdir)" \ install || die # Use dodoc for compression, since the Makefile doesn't do that. @@ -285,7 +280,7 @@ pkg_preinst() { pkg_postinst() { # Compile all source files recursively. Any orphans # will be identified and removed in postrm. - python_mod_optimize /usr/$(get_libdir)/portage/pym + python_mod_optimize /usr/lib/portage/pym if $WORLD_MIGRATION_UPGRADE && \ grep -q "^@" "${EROOT}/var/lib/portage/world"; then @@ -316,5 +311,5 @@ pkg_postinst() { } pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/portage/pym + python_mod_cleanup /usr/lib/portage/pym } |