commit:     5aa42521272663eb3bcaeefd019702145ea3edce
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 21:30:06 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 21:30:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa42521

dev-lang/gnat-gpl: remove src_install (use default)

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild | 32 -------------------------------
 dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild | 32 -------------------------------
 dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild | 32 -------------------------------
 dev-lang/gnat-gpl/gnat-gpl-2019-r1.ebuild | 32 -------------------------------
 4 files changed, 128 deletions(-)

diff --git a/dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild 
b/dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild
index b54bc1e1b82..15eafdcd92a 100644
--- a/dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild
+++ b/dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild
@@ -169,38 +169,6 @@ src_compile() {
        gcc_do_make "-C gcc gnattools"
 }
 
-src_install() {
-       toolchain_src_install
-       cd "${D}"${BINPATH}
-       if [[ -h gnatmake-${GCC_CONFIG_VER} ]] ; then
-               return
-       fi
-       for x in gnat*; do
-               # For some reason, g77 gets made instead of ${CTARGET}-g77...
-               # this should take care of that
-               if [[ -f ${x} ]] ; then
-                       # In case they're hardlinks, clear out the target first
-                       # otherwise the mv below will complain.
-                       rm -f ${CTARGET}-${x}
-                       mv ${x} ${CTARGET}-${x}
-               fi
-
-               if [[ -f ${CTARGET}-${x} ]] ; then
-                       ln -sf ${CTARGET}-${x} ${x}
-                       dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
-                               /usr/bin/${x}-${GCC_CONFIG_VER}
-                       # Create versioned symlinks
-                       dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
-                               /usr/bin/${CTARGET}-${x}-${GCC_CONFIG_VER}
-               fi
-
-               if [[ -f ${CTARGET}-${x}-${GCC_CONFIG_VER} ]] ; then
-                       rm -f ${CTARGET}-${x}-${GCC_CONFIG_VER}
-                       ln -sf ${CTARGET}-${x} ${CTARGET}-${x}-${GCC_CONFIG_VER}
-               fi
-       done
-}
-
 pkg_postinst () {
        toolchain_pkg_postinst
        einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more"

diff --git a/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild 
b/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild
index 0688916c1b7..3c90857c905 100644
--- a/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild
+++ b/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild
@@ -151,38 +151,6 @@ src_compile() {
        gcc_do_make "-C gcc gnattools"
 }
 
-src_install() {
-       toolchain_src_install
-       cd "${D}"${BINPATH}
-       if [[ -h gnatmake-${GCC_CONFIG_VER} ]] ; then
-               return
-       fi
-       for x in gnat*; do
-               # For some reason, g77 gets made instead of ${CTARGET}-g77...
-               # this should take care of that
-               if [[ -f ${x} ]] ; then
-                       # In case they're hardlinks, clear out the target first
-                       # otherwise the mv below will complain.
-                       rm -f ${CTARGET}-${x}
-                       mv ${x} ${CTARGET}-${x}
-               fi
-
-               if [[ -f ${CTARGET}-${x} ]] ; then
-                       ln -sf ${CTARGET}-${x} ${x}
-                       dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
-                               /usr/bin/${x}-${GCC_CONFIG_VER}
-                       # Create versioned symlinks
-                       dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
-                               /usr/bin/${CTARGET}-${x}-${GCC_CONFIG_VER}
-               fi
-
-               if [[ -f ${CTARGET}-${x}-${GCC_CONFIG_VER} ]] ; then
-                       rm -f ${CTARGET}-${x}-${GCC_CONFIG_VER}
-                       ln -sf ${CTARGET}-${x} ${CTARGET}-${x}-${GCC_CONFIG_VER}
-               fi
-       done
-}
-
 pkg_postinst () {
        toolchain_pkg_postinst
        einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more"

diff --git a/dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild 
b/dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild
index 8af2aa5ec9d..40b80c33c61 100644
--- a/dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild
+++ b/dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild
@@ -151,38 +151,6 @@ src_compile() {
        gcc_do_make "-C gcc gnattools"
 }
 
-src_install() {
-       toolchain_src_install
-       cd "${D}"${BINPATH}
-       if [[ -h gnatmake-${GCC_CONFIG_VER} ]] ; then
-               return
-       fi
-       for x in gnat*; do
-               # For some reason, g77 gets made instead of ${CTARGET}-g77...
-               # this should take care of that
-               if [[ -f ${x} ]] ; then
-                       # In case they're hardlinks, clear out the target first
-                       # otherwise the mv below will complain.
-                       rm -f ${CTARGET}-${x}
-                       mv ${x} ${CTARGET}-${x}
-               fi
-
-               if [[ -f ${CTARGET}-${x} ]] ; then
-                       ln -sf ${CTARGET}-${x} ${x}
-                       dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
-                               /usr/bin/${x}-${GCC_CONFIG_VER}
-                       # Create versioned symlinks
-                       dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
-                               /usr/bin/${CTARGET}-${x}-${GCC_CONFIG_VER}
-               fi
-
-               if [[ -f ${CTARGET}-${x}-${GCC_CONFIG_VER} ]] ; then
-                       rm -f ${CTARGET}-${x}-${GCC_CONFIG_VER}
-                       ln -sf ${CTARGET}-${x} ${CTARGET}-${x}-${GCC_CONFIG_VER}
-               fi
-       done
-}
-
 pkg_postinst () {
        toolchain_pkg_postinst
        einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more"

diff --git a/dev-lang/gnat-gpl/gnat-gpl-2019-r1.ebuild 
b/dev-lang/gnat-gpl/gnat-gpl-2019-r1.ebuild
index 00333a9c33b..5aa08b147d3 100644
--- a/dev-lang/gnat-gpl/gnat-gpl-2019-r1.ebuild
+++ b/dev-lang/gnat-gpl/gnat-gpl-2019-r1.ebuild
@@ -150,38 +150,6 @@ src_compile() {
        gcc_do_make "-C gcc gnattools"
 }
 
-src_install() {
-       toolchain_src_install
-       cd "${D}"${BINPATH}
-       if [[ -h gnatmake-${GCC_CONFIG_VER} ]] ; then
-               return
-       fi
-       for x in gnat*; do
-               # For some reason, g77 gets made instead of ${CTARGET}-g77...
-               # this should take care of that
-               if [[ -f ${x} ]] ; then
-                       # In case they're hardlinks, clear out the target first
-                       # otherwise the mv below will complain.
-                       rm -f ${CTARGET}-${x}
-                       mv ${x} ${CTARGET}-${x}
-               fi
-
-               if [[ -f ${CTARGET}-${x} ]] ; then
-                       ln -sf ${CTARGET}-${x} ${x}
-                       dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
-                               /usr/bin/${x}-${GCC_CONFIG_VER}
-                       # Create versioned symlinks
-                       dosym ${BINPATH#${EPREFIX}}/${CTARGET}-${x} \
-                               /usr/bin/${CTARGET}-${x}-${GCC_CONFIG_VER}
-               fi
-
-               if [[ -f ${CTARGET}-${x}-${GCC_CONFIG_VER} ]] ; then
-                       rm -f ${CTARGET}-${x}-${GCC_CONFIG_VER}
-                       ln -sf ${CTARGET}-${x} ${CTARGET}-${x}-${GCC_CONFIG_VER}
-               fi
-       done
-}
-
 pkg_postinst () {
        einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more"
        einfo "The compiler binary is ${CTARGET}-gcc-${GCC_CONFIG_VER}"

Reply via email to