aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/meep')
-rw-r--r--sci-physics/meep/Manifest12
-rw-r--r--sci-physics/meep/files/meep-0.10-configure.ac.patch11
-rw-r--r--sci-physics/meep/meep-0.10.ebuild17
3 files changed, 25 insertions, 15 deletions
diff --git a/sci-physics/meep/Manifest b/sci-physics/meep/Manifest
index 3d4cd5ac6..0d4ada68a 100644
--- a/sci-physics/meep/Manifest
+++ b/sci-physics/meep/Manifest
@@ -1,8 +1,12 @@
+AUX meep-0.10-configure.ac.patch 383 RMD160 71c9e7bac1b7848cb9554e842c7a740a7c0e59d5 SHA1 ce5c9f8cf36f0798b5ccd8a2696913b269963d9d SHA256 ef296514f6b193ea0e4e30fc439ef5e008d6059c9b321cf8ea13920cfd3633d1
+MD5 52e3c3460df274f01a407f73486e1ebb files/meep-0.10-configure.ac.patch 383
+RMD160 71c9e7bac1b7848cb9554e842c7a740a7c0e59d5 files/meep-0.10-configure.ac.patch 383
+SHA256 ef296514f6b193ea0e4e30fc439ef5e008d6059c9b321cf8ea13920cfd3633d1 files/meep-0.10-configure.ac.patch 383
DIST meep-0.10.tar.gz 882349 RMD160 6e3296f5fad63436a20e6d8d7db4d8d301882148 SHA1 54bc916e6a93f1b21c9d88f28a1f3f8efe437254 SHA256 7e9eac470220ba554e448b8aa4fe0458959e2974475ddf1541aeb2e45f8895e8
-EBUILD meep-0.10.ebuild 1180 RMD160 215f45b2de120d5e9a6a30ca48c758a9fa4fbca0 SHA1 c6a7357d52e2feb20a855cb7d2dbae06d1d7f1e7 SHA256 3482ee81aef5294e9e32880e63897eb8b03a452ad3491fbbfd44958a9c13a18b
-MD5 6547f47f11389e1580fe9fb3ab6cef22 meep-0.10.ebuild 1180
-RMD160 215f45b2de120d5e9a6a30ca48c758a9fa4fbca0 meep-0.10.ebuild 1180
-SHA256 3482ee81aef5294e9e32880e63897eb8b03a452ad3491fbbfd44958a9c13a18b meep-0.10.ebuild 1180
+EBUILD meep-0.10.ebuild 1109 RMD160 2f13b4726f83fe46861c3af131fed3bd70930ec0 SHA1 1ceedc46a6d267eeae30669eea70298e10b83135 SHA256 18009432b07a9d06e4abec5b58ba0eb88d354177edcf32df7c19d9b5906a0e16
+MD5 aec5d240fd25ee445982abab9f2e4103 meep-0.10.ebuild 1109
+RMD160 2f13b4726f83fe46861c3af131fed3bd70930ec0 meep-0.10.ebuild 1109
+SHA256 18009432b07a9d06e4abec5b58ba0eb88d354177edcf32df7c19d9b5906a0e16 meep-0.10.ebuild 1109
MISC ChangeLog 330 RMD160 b2f42ecd6385a0bbb5a03a0ba0247ba8f0c4dab9 SHA1 14cfb32530de0c7e88d0309075202ccb60acda0b SHA256 dde6e64f667de1f10305dc6c8e3eeaadbcf12010b166eecaf56e043ad2fc423e
MD5 a49b9c0ea6102f03a581581b720a11c8 ChangeLog 330
RMD160 b2f42ecd6385a0bbb5a03a0ba0247ba8f0c4dab9 ChangeLog 330
diff --git a/sci-physics/meep/files/meep-0.10-configure.ac.patch b/sci-physics/meep/files/meep-0.10-configure.ac.patch
new file mode 100644
index 000000000..2097b2093
--- /dev/null
+++ b/sci-physics/meep/files/meep-0.10-configure.ac.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2007-09-27 09:44:17.206142973 +0100
++++ configure.ac 2007-09-27 09:45:17.825597479 +0100
+@@ -11,7 +11,7 @@
+ AM_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
+ AC_SUBST(SHARED_VERSION_INFO)
+-AM_ENABLE_SHARED(no) dnl shared libs cause too many headaches to be default
++#AM_ENABLE_SHARED(no) dnl shared libs cause too many headaches to be default
+
+ MEEP_SUFFIX=""
+
diff --git a/sci-physics/meep/meep-0.10.ebuild b/sci-physics/meep/meep-0.10.ebuild
index 15c46228b..d3debfd33 100644
--- a/sci-physics/meep/meep-0.10.ebuild
+++ b/sci-physics/meep/meep-0.10.ebuild
@@ -23,13 +23,8 @@ DEPEND="sci-libs/fftw
src_unpack() {
unpack ${A}
cd "${S}"
- # --enable-shared gave text realloc on amd64
- # autoreconf with latest which seems ok.
- sed -i \
- -e 's/SHARED(no)/SHARED(yes)/' \
- configure.ac || die "sed failed"
- # eautoreconf gives errors
- autoreconf -fi || die "autoreconf failed"
+ epatch "${FILESDIR}"/${P}-configure.ac.patch
+ AT_M4DIR="m4" eautoreconf
}
src_compile() {
@@ -42,9 +37,9 @@ src_compile() {
}
src_install() {
- emake install DESTDIR=${D} || die "emake install failed"
- dodoc AUTHORS COPYRIGHT NEWS README TODO
+ emake install DESTDIR="${D}" || die "emake install failed"
+ dodoc AUTHORS COPYRIGHT NEWS README TODO || die "dodoc failed"
insinto /usr/share/doc/${PF}
- use doc && doins doc/meep.pdf
- use examples && doins -r examples
+ use doc && { doins doc/meep.pdf || die "install doc failed"; }
+ use examples && { doins -r examples || die "install examples failed"; }
}