media-gfx/nvidia-cg-toolkit: drop old pkg_postinst(), bug #705258

Drop lexicographical version compare.

Closes: https://bugs.gentoo.org/705258
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2020-02-18 20:22:28 +00:00
parent 837875d6fa
commit 6e2a3a2a0a
@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -129,11 +129,3 @@ multilib_src_install_all() {
eprefixify "${T}"/80cgc-opt
doenvd "${T}"/80cgc-opt
}
pkg_postinst() {
if [[ ${REPLACING_VERSIONS} < 2.1.0016 ]]; then
einfo "Starting with ${CATEGORY}/${PN}-2.1.0016, ${PN} is installed in"
einfo "${DEST}. Packages might have to add something like:"
einfo " append-cppflags -I${DEST}/include"
fi
}