sci-mathematics/minisat: Unsiliencing makefile
authorGerhard Bräunlich <wippbox@gmx.net>
Fri, 9 Sep 2016 13:36:41 +0000 (15:36 +0200)
committerDavid Seifert <soap@gentoo.org>
Tue, 13 Sep 2016 07:49:33 +0000 (09:49 +0200)
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2282

Signed-off-by: David Seifert <soap@gentoo.org>
sci-mathematics/minisat/minisat-2.2.0-r4.ebuild

index 20c5ee345d267903211576ee101a905f842b2a28..2674076a1132661ddb32a8371ddb69e0549f63ac 100644 (file)
@@ -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() {