commit:     5a24247d97a26cc91591658f68f3ded71664c723
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Fri Sep  9 13:36:41 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep 13 07:49:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a24247d

sci-mathematics/minisat: Unsiliencing makefile

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2282

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-mathematics/minisat/minisat-2.2.0-r4.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-mathematics/minisat/minisat-2.2.0-r4.ebuild 
b/sci-mathematics/minisat/minisat-2.2.0-r4.ebuild
index 20c5ee3..2674076 100644
--- a/sci-mathematics/minisat/minisat-2.2.0-r4.ebuild
+++ b/sci-mathematics/minisat/minisat-2.2.0-r4.ebuild
@@ -27,8 +27,8 @@ S=${WORKDIR}/${PN}
 
 src_prepare() {
        default
-       sed -e "s/\$(CXX) \$^/\$(CXX) \$(LDFLAGS) \$^/" \
-               -i -e "s|-O3|${CFLAGS}|" mtl/template.mk || die
+       # Remove makefile silencing
+       sed -i -e 's:@\(\$\|ln\|rm\|for\):\1:g' mtl/template.mk || die
 }
 
 src_configure() {
@@ -40,9 +40,9 @@ src_configure() {
 }
 
 src_compile() {
-       export MROOT="${S}"
-       emake -C ${mydir} ${myconf}
-       LIB="${PN}" emake -C ${mydir} lib${myconf}
+       export MROOT="$S"
+       emake -C $mydir $myconf
+       LIB="${PN}" emake -C $mydir lib$myconf
 }
 
 src_install() {

Reply via email to