diff options
author | Max Kalika <max@gentoo.org> | 2003-10-20 14:25:36 +0000 |
---|---|---|
committer | Max Kalika <max@gentoo.org> | 2003-10-20 14:25:36 +0000 |
commit | 8a8a58b0044cce247468e144481b53ccc36f76a3 (patch) | |
tree | c45ab98834217b7d2cde070eefd2e3d39d797446 /net-analyzer | |
parent | New version (diff) | |
download | gentoo-2-8a8a58b0044cce247468e144481b53ccc36f76a3.tar.gz gentoo-2-8a8a58b0044cce247468e144481b53ccc36f76a3.tar.bz2 gentoo-2-8a8a58b0044cce247468e144481b53ccc36f76a3.zip |
Make the perl-tk stuff depend on the X USE flag as well. Remove some things that don't work anyway when USE=-perl.
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/net-snmp/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/net-snmp/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/net-snmp/net-snmp-5.0.9-r2.ebuild | 15 |
3 files changed, 17 insertions, 8 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog index a9bf4b2352c1..17342fbc9b19 100644 --- a/net-analyzer/net-snmp/ChangeLog +++ b/net-analyzer/net-snmp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/net-snmp # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.27 2003/10/20 07:01:39 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.28 2003/10/20 14:25:35 max Exp $ + + 20 Oct 2003; Max Kalika <max@gentoo.org> net-snmp-5.0.9-r2.ebuild: + Make the perl-tk stuff depend on the X USE flag as well. Remove some things + that don't work anyway when USE=-perl. 20 Oct 2003; Max Kalika <max@gentoo.org> net-snmp-5.0.9-r2.ebuild: Add perl? ( dev-perl/perl-tk ) to RDEPEND. diff --git a/net-analyzer/net-snmp/Manifest b/net-analyzer/net-snmp/Manifest index 1ab71751646c..8218a68f7325 100644 --- a/net-analyzer/net-snmp/Manifest +++ b/net-analyzer/net-snmp/Manifest @@ -1,6 +1,6 @@ MD5 67d998ad23b884a396dc092cdc04ab45 net-snmp-5.0.9-r1.ebuild 1630 -MD5 0c1cf267ad999af0a18dcd9a1c63f8a4 net-snmp-5.0.9-r2.ebuild 1942 -MD5 a1947981a0a418ab90a6384321bc3246 ChangeLog 4718 +MD5 929ed0bd55b3c9703a7e0fd53e95b153 net-snmp-5.0.9-r2.ebuild 2070 +MD5 c9235f1e05375d812a142643ceeaf447 ChangeLog 4907 MD5 9384ae7ba3e9f56b8027ea92f607042d metadata.xml 215 MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r1 67 MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r2 67 diff --git a/net-analyzer/net-snmp/net-snmp-5.0.9-r2.ebuild b/net-analyzer/net-snmp/net-snmp-5.0.9-r2.ebuild index 6201449ab5af..77d86415c534 100644 --- a/net-analyzer/net-snmp/net-snmp-5.0.9-r2.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.0.9-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.0.9-r2.ebuild,v 1.3 2003/10/20 13:58:15 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/net-snmp-5.0.9-r2.ebuild,v 1.4 2003/10/20 14:25:35 max Exp $ DESCRIPTION="Software for generating and retrieving SNMP data." HOMEPAGE="http://net-snmp.sourceforge.net/" @@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~arm ~hppa ~alpha" -IUSE="perl ssl ipv6 tcpd" +IUSE="perl ipv6 ssl tcpd X" PROVIDE="virtual/snmp" DEPEND="virtual/glibc @@ -17,10 +17,10 @@ DEPEND="virtual/glibc >=sys-libs/zlib-1.1.4 >=sys-apps/sed-4 perl? ( >=sys-devel/libperl-5.6.1 ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) - ssl? ( >=dev-libs/openssl-0.9.6d )" + ssl? ( >=dev-libs/openssl-0.9.6d ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" RDEPEND="${DEPEND} - perl? ( dev-perl/perl-tk ) + perl? ( X? ( dev-perl/perl-tk ) ) !virtual/snmp" src_compile() { @@ -54,6 +54,11 @@ src_install () { if [ "`use perl`" ] ; then make DESTDIR="${D}" perlinstall || die "make perlinstall failed" + if [ ! "`use X`" ] ; then + rm -f "${D}/usr/bin/tkmib" + fi + else + rm -f "${D}/usr/bin/mib2c" "${D}/usr/bin/tkmib" fi dodoc AGENT.txt ChangeLog FAQ INSTALL NEWS PORTING README* TODO |