diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-09-12 06:46:58 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-09-12 06:46:58 +0000 |
commit | f221db17d7208d200a06dcc329f8792863b14d8b (patch) | |
tree | 209f622872f09b1688fb9daaa190b0d41333d718 /net-analyzer | |
parent | Remove old. (diff) | |
download | gentoo-2-f221db17d7208d200a06dcc329f8792863b14d8b.tar.gz gentoo-2-f221db17d7208d200a06dcc329f8792863b14d8b.tar.bz2 gentoo-2-f221db17d7208d200a06dcc329f8792863b14d8b.zip |
Don't install uninstall script and conditionally remove .la files.
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nessus-libraries/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild | 16 |
2 files changed, 15 insertions, 7 deletions
diff --git a/net-analyzer/nessus-libraries/ChangeLog b/net-analyzer/nessus-libraries/ChangeLog index 03dd8aa651cc..cbaabf3d2817 100644 --- a/net-analyzer/nessus-libraries/ChangeLog +++ b/net-analyzer/nessus-libraries/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/nessus-libraries # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog,v 1.93 2011/04/20 11:19:36 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog,v 1.94 2011/09/12 06:46:58 radhermit Exp $ + + 12 Sep 2011; Tim Harder <radhermit@gentoo.org> + nessus-libraries-2.2.9-r1.ebuild: + Don't install uninstall script and conditionally remove .la files. 20 Apr 2011; Justin Lecher <jlec@gentoo.org> -nessus-libraries-2.3.1-r2.ebuild: diff --git a/net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild b/net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild index 1c92dccb1b19..908d561e2931 100644 --- a/net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild +++ b/net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild,v 1.1 2011/04/20 07:17:11 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.2.9-r1.ebuild,v 1.2 2011/09/12 06:46:58 radhermit Exp $ EAPI=4 @@ -24,11 +24,10 @@ RDEPEND="${DEPEND}" S="${WORKDIR}"/${PN} src_prepare() { - epatch \ - "${FILESDIR}"/${P}-linking.patch - sed \ - -e "s:^\(LDFLAGS=\):\1 ${LDFLAGS}:g" \ - -i nessus.tmpl.in + epatch "${FILESDIR}"/${P}-linking.patch + + sed -i -e "s:^\(LDFLAGS=\):\1 ${LDFLAGS}:g" nessus.tmpl.in || die + sed -i -e '/sbindir/d' Makefile || die } src_configure() { @@ -42,3 +41,8 @@ src_configure() { --with-ssl="${EPREFIX}/usr/$(get_libdir)" \ --disable-nessuspcap } + +src_install() { + default + use static-libs || find "${ED}" -name '*.la' -delete +} |