commit:     a725a13101ab80436245817a4e4471c6e796f3b0
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Tue Apr 21 12:30:27 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Apr 21 12:35:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a725a131

dev-libs/StringiFor: remove check if FFLAGS is empty

Because the FFLAGS is presented by default in profile [1]
the check "if FFLAGS is empty" is removed.

[1] https://bugs.gentoo.org/575446

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-libs/StringiFor/StringiFor-1.1.1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild 
b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
index 0147bfa..4bd3e38 100644
--- a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
+++ b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild
@@ -67,9 +67,7 @@ src_prepare() {
        mv -T "${WORKDIR}"/PENF-"${PENF_sha}" "${S}"/src/third_party/PENF
        default
 
-       if [ "${FFLAGS}" ] ; then
-               sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = 
'"${FFLAGS}"':' fobos || die
-       fi
+       sed -i -e 's:\$OPTIMIZE    = -O2:\$OPTIMIZE    = '"${FFLAGS}"':' fobos 
|| die
 }
 
 src_compile() {

Reply via email to