summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2009-08-01 23:21:26 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2009-08-01 23:21:26 +0000
commite5079d09fa83c7fbe3bd1c9ffce255d416702ac6 (patch)
treede08d163f9b0d721c2e9434ebaf5634e808ace5c
parentUse -j1 for make. Bug #279968. (diff)
downloadgentoo-2-e5079d09fa83c7fbe3bd1c9ffce255d416702ac6.tar.gz
gentoo-2-e5079d09fa83c7fbe3bd1c9ffce255d416702ac6.tar.bz2
gentoo-2-e5079d09fa83c7fbe3bd1c9ffce255d416702ac6.zip
Stop pre-stripping files, fixes bug 252034. Thanks to My Th <rei4dan@gmail.com> for the patch.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r--sci-chemistry/easychem/ChangeLog9
-rw-r--r--sci-chemistry/easychem/easychem-0.6.ebuild12
-rw-r--r--sci-chemistry/easychem/files/easychem-0.6-prestrip.patch10
3 files changed, 27 insertions, 4 deletions
diff --git a/sci-chemistry/easychem/ChangeLog b/sci-chemistry/easychem/ChangeLog
index 8b86609cb43d..9fc2f1940334 100644
--- a/sci-chemistry/easychem/ChangeLog
+++ b/sci-chemistry/easychem/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/easychem
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/ChangeLog,v 1.13 2008/04/21 01:46:50 je_fro Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/ChangeLog,v 1.14 2009/08/01 23:21:26 cryos Exp $
+
+ 01 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> easychem-0.6.ebuild,
+ +files/easychem-0.6-prestrip.patch:
+ Stop pre-stripping files, fixes bug 252034. Thanks to My Th
+ <rei4dan@gmail.com> for the patch.
21 Apr 2008; Jeff Gardner <je_fro@gentoo.org> easychem-0.6.ebuild:
Fix RDEPEND for bug #217278
diff --git a/sci-chemistry/easychem/easychem-0.6.ebuild b/sci-chemistry/easychem/easychem-0.6.ebuild
index 3b4cc7744ab6..4417d699e104 100644
--- a/sci-chemistry/easychem/easychem-0.6.ebuild
+++ b/sci-chemistry/easychem/easychem-0.6.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/easychem-0.6.ebuild,v 1.9 2008/04/21 06:43:42 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/easychem/easychem-0.6.ebuild,v 1.10 2009/08/01 23:21:26 cryos Exp $
+
+inherit eutils
DESCRIPTION="Chemical structure drawing program - focused on presentation."
HOMEPAGE="http://easychem.sourceforge.net/"
@@ -18,6 +20,12 @@ RDEPEND=">=x11-libs/gtk+-2.4.1
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-prestrip.patch"
+}
+
src_compile() {
ln -s Makefile.linux Makefile
DGS_PATH=/usr/bin DPSTOEDIT_PATH=/usr/bin \
diff --git a/sci-chemistry/easychem/files/easychem-0.6-prestrip.patch b/sci-chemistry/easychem/files/easychem-0.6-prestrip.patch
new file mode 100644
index 000000000000..a1cbbb055d0c
--- /dev/null
+++ b/sci-chemistry/easychem/files/easychem-0.6-prestrip.patch
@@ -0,0 +1,10 @@
+--- Makefile.linux.orig 2009-02-23 21:17:25.000000000 +0200
++++ Makefile.linux 2009-02-23 21:17:50.000000000 +0200
+@@ -29,7 +29,6 @@
+
+ easychem: postscript/ graph/ $(OBJECTS)
+ $(CC) -o easychem $(OBJECTS) $(GTK_LIBS) $(C_FLAGS)
+- strip easychem
+
+ clean: FORCE
+ -cd graph; make clean