diff options
author | Eray Aslan <eras@gentoo.org> | 2011-11-14 13:00:35 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-11-14 13:00:35 +0000 |
commit | 96beebc5c68be0f09f7175f74c5f7cd6d5fad9d4 (patch) | |
tree | 0bcddd9e44cedf81de5ab4631950761da33eaa2d /app-crypt | |
parent | Fix live ebuild after upstream changed library naming scheme. (diff) | |
download | gentoo-2-96beebc5c68be0f09f7175f74c5f7cd6d5fad9d4.tar.gz gentoo-2-96beebc5c68be0f09f7175f74c5f7cd6d5fad9d4.tar.bz2 gentoo-2-96beebc5c68be0f09f7175f74c5f7cd6d5fad9d4.zip |
Add static-libs USE flag. Use preserve_old_lib_notify to remind revdep-rebuild usage.
(Portage version: 2.1.10.34/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/heimdal/ChangeLog | 6 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-1.5.1.ebuild | 17 |
2 files changed, 16 insertions, 7 deletions
diff --git a/app-crypt/heimdal/ChangeLog b/app-crypt/heimdal/ChangeLog index dae92cacfa62..339f80e53ffe 100644 --- a/app-crypt/heimdal/ChangeLog +++ b/app-crypt/heimdal/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-crypt/heimdal # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.179 2011/11/02 10:14:51 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.180 2011/11/14 13:00:35 eras Exp $ + + 14 Nov 2011; Eray Aslan <eras@gentoo.org> heimdal-1.5.1.ebuild: + Add static-libs USE flag. Use preserve_old_lib_notify to remind + revdep-rebuild usage. 02 Nov 2011; Eray Aslan <eras@gentoo.org> heimdal-1.5.1.ebuild: Add revdep-rebuild warning. diff --git a/app-crypt/heimdal/heimdal-1.5.1.ebuild b/app-crypt/heimdal/heimdal-1.5.1.ebuild index c99c35655912..7b298665de2a 100644 --- a/app-crypt/heimdal/heimdal-1.5.1.ebuild +++ b/app-crypt/heimdal/heimdal-1.5.1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.1.ebuild,v 1.3 2011/11/02 10:14:51 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.1.ebuild,v 1.4 2011/11/14 13:00:35 eras Exp $ EAPI=2 # PYTHON_BDEPEND="2" VIRTUALX_REQUIRED="manual" -inherit autotools db-use eutils libtool python toolchain-funcs virtualx flag-o-matic +inherit autotools-utils db-use eutils libtool python toolchain-funcs virtualx flag-o-matic MY_P="${P}" DESCRIPTION="Kerberos 5 implementation from KTH" @@ -16,7 +16,7 @@ SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl threads test X" +IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl static-libs threads test X" RDEPEND="ssl? ( dev-libs/openssl ) berkdb? ( sys-libs/db ) @@ -68,6 +68,7 @@ src_configure() { $(use_enable otp) \ $(use_enable pkinit kx509) \ $(use_enable pkinit pk-init) \ + $(use_enable static-libs static) \ $(use_enable threads pthread-support) \ $(use_with caps capng) \ $(use_with hdb-ldap openldap /usr) \ @@ -120,12 +121,16 @@ src_install() { doins "${S}/lib/hdb/hdb.schema" fi + use static-libs || remove_libtool_files + # default database dir keepdir /var/heimdal } pkg_preinst() { - if has_version "<${CATEGORY}/${PN}-1.4.0" ; then - ewarn "Please make sure to run \"revdep-rebuild\" after upgrading." - fi + preserve_old_lib /usr/$(get_libdir)/libgssapi.so.2 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libgssapi.so.2 } |