summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2012-03-11 16:10:56 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2012-03-11 16:10:56 +0000
commit2d5b524fc64f28fccf58e5d9ca033c76b9e3f11f (patch)
treede81a224838ffdb1ef6872750f968ce1f4987844 /sci-electronics/pcb
parentInitial commit. (diff)
downloadgentoo-2-2d5b524fc64f28fccf58e5d9ca033c76b9e3f11f.tar.gz
gentoo-2-2d5b524fc64f28fccf58e5d9ca033c76b9e3f11f.tar.bz2
gentoo-2-2d5b524fc64f28fccf58e5d9ca033c76b9e3f11f.zip
Do not install gts.h/.a (bug #407769). Thanks for reporting D. Kredba
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics/pcb')
-rw-r--r--sci-electronics/pcb/ChangeLog5
-rw-r--r--sci-electronics/pcb/pcb-20110918.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog
index a7e9bfad4a76..0758dc68d61d 100644
--- a/sci-electronics/pcb/ChangeLog
+++ b/sci-electronics/pcb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-electronics/pcb
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.66 2012/03/10 13:30:27 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.67 2012/03/11 16:10:56 tomjbe Exp $
+
+ 11 Mar 2012; Thomas Beierlein <tomjbe@gentoo.org> pcb-20110918.ebuild:
+ Do not install gts.h/.a (bug407769). Thanks for reporting D. Kredba
*pcb-20110918 (10 Mar 2012)
diff --git a/sci-electronics/pcb/pcb-20110918.ebuild b/sci-electronics/pcb/pcb-20110918.ebuild
index 19f1aa1f3504..b41f4c0a4b2d 100644
--- a/sci-electronics/pcb/pcb-20110918.ebuild
+++ b/sci-electronics/pcb/pcb-20110918.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20110918.ebuild,v 1.1 2012/03/10 13:30:27 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20110918.ebuild,v 1.2 2012/03/11 16:10:56 tomjbe Exp $
EAPI="3"
-inherit fdo-mime gnome2-utils
+inherit autotools eutils fdo-mime gnome2-utils
DESCRIPTION="GPL Electronic Design Automation: Printed Circuit Board editor"
HOMEPAGE="http://www.gpleda.org/"
@@ -76,9 +76,14 @@ src_prepare() {
fi
fi
# Backport from upstream
- # http://git.gieda-project.org/pcb/commit/?id=a34b40add60310a51780f359cc90d9c5ee75752c
+ # http://git.geda-project.org/pcb/commit/?id=a34b40add60310a51780f359cc90d9c5ee75752c
# (do not install static GTS library)
sed -i -e 's/lib_LIBRARIES/noinst_LIBRARIES/' -e 's/include_HEADERS/noinst_HEADERS/' gts/Makefile.am || die
+
+ # fix bad syntax in Makefile.am and configure.ac before running eautoreconf
+ sed -i -e 's/:=/=/' Makefile.am || die
+ epatch "${FILESDIR}"/${P}-fix-config.diff
+ eautoreconf
}
src_configure() {