diff options
author | 2011-02-26 19:15:45 +0000 | |
---|---|---|
committer | 2011-02-26 19:15:45 +0000 | |
commit | 9fbe2c3dffb2e18cc1f9cce48ce1433211d98d59 (patch) | |
tree | f9114003a128d44289c38d2719818c7d6a8e417f /net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild | |
parent | Cleanup (diff) | |
download | gentoo-2-9fbe2c3dffb2e18cc1f9cce48ce1433211d98d59.tar.gz gentoo-2-9fbe2c3dffb2e18cc1f9cce48ce1433211d98d59.tar.bz2 gentoo-2-9fbe2c3dffb2e18cc1f9cce48ce1433211d98d59.zip |
Fix deprecation warnings.
(Portage version: 2.2.0_alpha25_p8/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild')
-rw-r--r-- | net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild b/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild index f8250ba01539..129b43045cba 100644 --- a/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild,v 1.11 2010/11/06 20:22:32 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.4.2.1-r4.ebuild,v 1.12 2011/02/26 19:15:45 arfrever Exp $ -EAPI=2 +EAPI="3" inherit fixheadtails flag-o-matic perl-module python autotools @@ -195,7 +195,7 @@ src_install () { pkg_postinst() { if use python; then - python_mod_optimize $(python_get_sitedir)/netsnmp + python_mod_optimize netsnmp fi elog "An example configuration file has been installed in" @@ -204,6 +204,6 @@ pkg_postinst() { pkg_postrm() { if use python; then - python_mod_cleanup $(python_get_sitedir)/netsnmp + python_mod_cleanup netsnmp fi } |