summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-06-24 08:55:11 +0000
committerJustin Lecher <jlec@gentoo.org>2012-06-24 08:55:11 +0000
commit396f95a36edc659e971a871f7079a990331f5bb3 (patch)
treea193218a23ffa21b131a4701edcfb1614d5013a3 /sci-electronics/ngspice
parentBump to 3.4.3 (diff)
downloadgentoo-2-396f95a36edc659e971a871f7079a990331f5bb3.tar.gz
gentoo-2-396f95a36edc659e971a871f7079a990331f5bb3.tar.bz2
gentoo-2-396f95a36edc659e971a871f7079a990331f5bb3.zip
sci-electronics/ngspice: ADd fix for automake-1.12, #423189
(Portage version: 2.2.0_alpha112/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics/ngspice')
-rw-r--r--sci-electronics/ngspice/ChangeLog6
-rw-r--r--sci-electronics/ngspice/files/ngspice-24-automake-1.12.patch16
-rw-r--r--sci-electronics/ngspice/metadata.xml4
-rw-r--r--sci-electronics/ngspice/ngspice-24.ebuild3
4 files changed, 25 insertions, 4 deletions
diff --git a/sci-electronics/ngspice/ChangeLog b/sci-electronics/ngspice/ChangeLog
index e2be906e52cb..c2cab5ba6bca 100644
--- a/sci-electronics/ngspice/ChangeLog
+++ b/sci-electronics/ngspice/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-electronics/ngspice
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ngspice/ChangeLog,v 1.2 2012/05/23 18:43:02 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ngspice/ChangeLog,v 1.3 2012/06/24 08:55:11 jlec Exp $
+
+ 24 Jun 2012; Justin Lecher <jlec@gentoo.org> ngspice-24.ebuild,
+ +files/ngspice-24-automake-1.12.patch, metadata.xml:
+ ADd fix for automake-1.12, #423189
*ngspice-24 (23 May 2012)
diff --git a/sci-electronics/ngspice/files/ngspice-24-automake-1.12.patch b/sci-electronics/ngspice/files/ngspice-24-automake-1.12.patch
new file mode 100644
index 000000000000..c73fb9f0d809
--- /dev/null
+++ b/sci-electronics/ngspice/files/ngspice-24-automake-1.12.patch
@@ -0,0 +1,16 @@
+ configure.ac | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 51e1722..5275025 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -31,6 +31,8 @@ AC_CONFIG_HEADER([src/include/ngspice/config.h])
+ dnl Initialise automake stuff
+ AM_INIT_AUTOMAKE([-Wall -Werror nostdinc])
+
++AM_PROG_AR
++
+ AC_SUBST([AM_CPPFLAGS],['-I. -I$(srcdir) -I$(top_builddir)/src/include'])
+
+ AC_CONFIG_MACRO_DIR([m4])
diff --git a/sci-electronics/ngspice/metadata.xml b/sci-electronics/ngspice/metadata.xml
index 97cd3908e320..9725005c2320 100644
--- a/sci-electronics/ngspice/metadata.xml
+++ b/sci-electronics/ngspice/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-electronics</herd>
- <longdescription>
+ <herd>sci-electronics</herd>
+ <longdescription>
Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is based on
three open source software packages: Spice3f5, Cider1b1 and Xspice.
</longdescription>
diff --git a/sci-electronics/ngspice/ngspice-24.ebuild b/sci-electronics/ngspice/ngspice-24.ebuild
index 4409a03b6ae3..b9d0959c068a 100644
--- a/sci-electronics/ngspice/ngspice-24.ebuild
+++ b/sci-electronics/ngspice/ngspice-24.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ngspice/ngspice-24.ebuild,v 1.1 2012/05/23 18:43:02 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ngspice/ngspice-24.ebuild,v 1.2 2012/06/24 08:55:11 jlec Exp $
EAPI="3"
@@ -27,6 +27,7 @@ RDEPEND="$DEPEND"
src_prepare() {
sed -e 's/_CFLAGS -O2/_CFLAGS/' -i configure.ac || die "sed failed"
sed -e 's/LDFLAGS =/LDFLAGS +=/' -i src/xspice/icm/makedefs.in || die "sed failed"
+ epatch "${FILESDIR}"/${P}-automake-1.12.patch
eautoreconf
}