summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-06-24 04:34:02 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-06-24 04:34:02 +0000
commit17309e4beaa022423bf686de9d3bb8e388239ba7 (patch)
tree42eea003a4389bf3d8e10b55aa3d1874d8b05cf4 /sci-mathematics
parentVersion bump, thanks Ben Bannier for testing, closing bug #274975 (diff)
downloadgentoo-2-17309e4beaa022423bf686de9d3bb8e388239ba7.tar.gz
gentoo-2-17309e4beaa022423bf686de9d3bb8e388239ba7.tar.bz2
gentoo-2-17309e4beaa022423bf686de9d3bb8e388239ba7.zip
Fixed syntax error (bug #275195) and some CFLAGS propagation
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/mathomatic/ChangeLog6
-rw-r--r--sci-mathematics/mathomatic/mathomatic-14.4.5.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/sci-mathematics/mathomatic/ChangeLog b/sci-mathematics/mathomatic/ChangeLog
index 506b73487490..cdfca8d8535e 100644
--- a/sci-mathematics/mathomatic/ChangeLog
+++ b/sci-mathematics/mathomatic/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/mathomatic
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/ChangeLog,v 1.41 2009/06/22 18:47:03 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/ChangeLog,v 1.42 2009/06/24 04:34:02 bicatali Exp $
+
+ 24 Jun 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ mathomatic-14.4.5.ebuild:
+ Fixed syntax error (bug #275195) and some CFLAGS propagation
*mathomatic-14.4.5 (22 Jun 2009)
diff --git a/sci-mathematics/mathomatic/mathomatic-14.4.5.ebuild b/sci-mathematics/mathomatic/mathomatic-14.4.5.ebuild
index 0d15a96af0ef..be09405ff51a 100644
--- a/sci-mathematics/mathomatic/mathomatic-14.4.5.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-14.4.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-14.4.5.ebuild,v 1.1 2009/06/22 18:47:03 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-14.4.5.ebuild,v 1.2 2009/06/24 04:34:02 bicatali Exp $
inherit eutils
@@ -21,6 +21,7 @@ src_compile() {
sed -i \
-e '/^CFLAGS/ s/-O.//' \
makefile primes/makefile || die "sed failed"
+ sed -i -e "s/-s.*-O/${CFLAGS}/" compile.secure || die
emake READLINE=1 || die "emake failed"
emake -C primes || die "emake in primes failed"
if use secure; then
@@ -46,7 +47,7 @@ src_install() {
insinto /usr/share/doc/${PF}
doins -r tests factorial m4 || die
fi
- if use doc; then
+ if use secure; then
dobin mathomatic_secure || die
fi
}