commit:     3cf933d5bc477823267bbd681721eaa762fb61cf
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 13:54:15 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue May 12 13:55:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cf933d5

app-text/hyperestraier: fix configure

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 .../files/hyperestraier-configure.patch            | 30 +++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/app-text/hyperestraier/files/hyperestraier-configure.patch 
b/app-text/hyperestraier/files/hyperestraier-configure.patch
index 4e747d9c754..0daee36183c 100644
--- a/app-text/hyperestraier/files/hyperestraier-configure.patch
+++ b/app-text/hyperestraier/files/hyperestraier-configure.patch
@@ -1,3 +1,13 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -67,6 +67,7 @@
+ SKLIBS = @MYSKLIBS@
+ APPLIBS = @MYAPPLIBS@
+ LDENV = 
LD_RUN_PATH=/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
++AR = @AR@
+ RUNENV = 
LD_LIBRARY_PATH=.:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
+ MYPOSTCMD = @MYPOSTCMD@
+ 
 --- a/configure.in
 +++ b/configure.in
 @@ -24,24 +24,6 @@
@@ -33,8 +43,17 @@
    enables="$enables (debug)"
    stable="yes"
  fi
-@@ -187,19 +169,20 @@
+@@ -180,26 +161,28 @@
+   then
+     MYCFLAGS="-Wall -fPIC -fsigned-char -O1"
+   fi
+-  if gcc --version | egrep -i '^2\.(8|9)' > /dev/null 2>&1
++  if $CC --version | egrep -i '^2\.(8|9)' > /dev/null 2>&1
+   then
+     MYCFLAGS="-Wall -fPIC -fsigned-char -O1"
+   fi
  fi
++AC_CHECK_TOOL(AR, ar)
  
  # Underlying libraries
 +PKG_PROG_PKG_CONFIG
@@ -110,6 +129,15 @@
  
  
  #================================================================
+@@ -134,7 +112,7 @@
+ then
+   MYCFLAGS="-Wall -fPIC -fsigned-char -O1"
+ fi
+-if gcc --version | egrep -i '^2\.(8|9)' > /dev/null 2>&1
++if $CC --version | egrep -i '^2\.(8|9)' > /dev/null 2>&1
+ then
+   MYCFLAGS="-Wall -fPIC -fsigned-char -O1"
+ fi
 @@ -158,7 +136,7 @@
  AC_CHECK_LIB(lzo2, main)
  AC_CHECK_LIB(bz2, main)

Reply via email to