summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2010-01-07 20:30:17 +0000
committerTristan Heaven <nyhm@gentoo.org>2010-01-07 20:30:17 +0000
commit5c27770c8754621df1b10e3a72c02ef06d48f159 (patch)
tree1d80b0a11cb4c32e30eb2d315d93ded2686c9400 /x11-misc
parentSet empty HOMEPAGE and LICENSE (diff)
downloadgentoo-2-5c27770c8754621df1b10e3a72c02ef06d48f159.tar.gz
gentoo-2-5c27770c8754621df1b10e3a72c02ef06d48f159.tar.bz2
gentoo-2-5c27770c8754621df1b10e3a72c02ef06d48f159.zip
Remove useless libtool file and static lib, bug #299096
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/revelation/ChangeLog8
-rw-r--r--x11-misc/revelation/files/revelation-0.4.11-build.patch4
-rw-r--r--x11-misc/revelation/revelation-0.4.11-r2.ebuild16
3 files changed, 18 insertions, 10 deletions
diff --git a/x11-misc/revelation/ChangeLog b/x11-misc/revelation/ChangeLog
index 021bbade50f8..f3fa68e25594 100644
--- a/x11-misc/revelation/ChangeLog
+++ b/x11-misc/revelation/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/revelation
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/revelation/ChangeLog,v 1.16 2009/04/22 19:48:52 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/revelation/ChangeLog,v 1.17 2010/01/07 20:30:16 nyhm Exp $
+
+ 07 Jan 2010; Tristan Heaven <nyhm@gentoo.org> revelation-0.4.11-r2.ebuild,
+ files/revelation-0.4.11-build.patch:
+ Remove useless libtool file and static lib, bug #299096
22 Apr 2009; Markus Meier <maekke@gentoo.org> revelation-0.4.11-r2:
amd64 stable, bug #260038
diff --git a/x11-misc/revelation/files/revelation-0.4.11-build.patch b/x11-misc/revelation/files/revelation-0.4.11-build.patch
index 0a4fe1a17dfb..e699034ad84d 100644
--- a/x11-misc/revelation/files/revelation-0.4.11-build.patch
+++ b/x11-misc/revelation/files/revelation-0.4.11-build.patch
@@ -32,7 +32,7 @@
--- src/wrap/crack/Makefile.am
+++ src/wrap/crack/Makefile.am
@@ -5,19 +5,9 @@
- # $Id: revelation-0.4.11-build.patch,v 1.1 2009/01/22 18:12:53 nyhm Exp $
+ # $Id: revelation-0.4.11-build.patch,v 1.2 2010/01/07 20:30:17 nyhm Exp $
#
-module_PROGRAMS = crack.so
@@ -55,4 +55,4 @@
+crack_la_SOURCES = crack.c
+crack_la_CFLAGS = -Wall
+crack_la_CPPFLAGS = -I$(PYTHON_INCLUDE) -DDEFAULT_DICTPATH="\"$(CRACK_DICTPATH)\""
-+crack_la_LDFLAGS = -module
++crack_la_LDFLAGS = -avoid-version -module -shared
diff --git a/x11-misc/revelation/revelation-0.4.11-r2.ebuild b/x11-misc/revelation/revelation-0.4.11-r2.ebuild
index 93eed7894b37..fab9b0c27463 100644
--- a/x11-misc/revelation/revelation-0.4.11-r2.ebuild
+++ b/x11-misc/revelation/revelation-0.4.11-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/revelation/revelation-0.4.11-r2.ebuild,v 1.5 2009/04/22 19:48:52 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/revelation/revelation-0.4.11-r2.ebuild,v 1.6 2010/01/07 20:30:16 nyhm Exp $
inherit autotools eutils multilib python gnome2
@@ -12,8 +12,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-
-RESTRICT=test
+RESTRICT="test"
DEPEND="dev-python/pygtk
dev-python/pycrypto
@@ -25,8 +24,6 @@ DEPEND="dev-python/pygtk
sys-libs/cracklib"
RDEPEND="${DEPEND}"
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-
src_unpack() {
gnome2_src_unpack
ln -sf $(type -P true) py-compile
@@ -43,6 +40,13 @@ src_compile() {
--disable-mime-update
}
+src_install() {
+ DOCS="AUTHORS ChangeLog NEWS README TODO" \
+ gnome2_src_install
+ python_version
+ rm -f "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/crack.la
+}
+
pkg_postinst() {
gnome2_pkg_postinst
python_version