From 3cf933d5bc477823267bbd681721eaa762fb61cf Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Tue, 12 May 2020 22:54:15 +0900 Subject: app-text/hyperestraier: fix configure Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- .../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 4e747d9c754b..0daee36183c6 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) -- cgit v1.2.3-65-gdbad