From: Andreas Sturmlechner Date: Sun, 16 Sep 2018 21:16:40 +0000 (+0200) Subject: dev-cpp/libcmis: Drop alternatives eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0ddf6f6f6b74f3aaeafa458b1bcab563166bd722;p=gentoo.git dev-cpp/libcmis: Drop alternatives eclass Package-Manager: Portage-2.3.49, Repoman-2.3.10 --- diff --git a/dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild b/dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild index 9c4546b7f5f5..a918f64a5965 100644 --- a/dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild +++ b/dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild @@ -12,7 +12,7 @@ elif [[ ${PV} = *_pre* ]]; then else SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi -inherit alternatives autotools flag-o-matic +inherit autotools flag-o-matic DESCRIPTION="C++ client library for the CMIS interface" HOMEPAGE="https://github.com/tdf/libcmis" @@ -74,11 +74,3 @@ src_install() { default find "${D}" -name '*.la' -delete || die } - -pkg_postinst() { - alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]" -} - -pkg_postrm() { - alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]" -} diff --git a/dev-cpp/libcmis/libcmis-9999.ebuild b/dev-cpp/libcmis/libcmis-9999.ebuild index 922b7a7756a6..648347ed63bc 100644 --- a/dev-cpp/libcmis/libcmis-9999.ebuild +++ b/dev-cpp/libcmis/libcmis-9999.ebuild @@ -12,7 +12,7 @@ elif [[ ${PV} = *_pre* ]]; then else SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi -inherit alternatives autotools flag-o-matic +inherit autotools flag-o-matic DESCRIPTION="C++ client library for the CMIS interface" HOMEPAGE="https://github.com/tdf/libcmis" @@ -69,11 +69,3 @@ src_install() { default find "${D}" -name '*.la' -delete || die } - -pkg_postinst() { - alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]" -} - -pkg_postrm() { - alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]" -}