Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/files/
Date: Tue, 12 May 2020 13:56:54
Message-Id: 1589291703.3cf933d5bc477823267bbd681721eaa762fb61cf.hattya@gentoo
1 commit: 3cf933d5bc477823267bbd681721eaa762fb61cf
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 12 13:54:15 2020 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Tue May 12 13:55:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cf933d5
7
8 app-text/hyperestraier: fix configure
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
12
13 .../files/hyperestraier-configure.patch | 30 +++++++++++++++++++++-
14 1 file changed, 29 insertions(+), 1 deletion(-)
15
16 diff --git a/app-text/hyperestraier/files/hyperestraier-configure.patch b/app-text/hyperestraier/files/hyperestraier-configure.patch
17 index 4e747d9c754..0daee36183c 100644
18 --- a/app-text/hyperestraier/files/hyperestraier-configure.patch
19 +++ b/app-text/hyperestraier/files/hyperestraier-configure.patch
20 @@ -1,3 +1,13 @@
21 +--- a/Makefile.in
22 ++++ b/Makefile.in
23 +@@ -67,6 +67,7 @@
24 + SKLIBS = @MYSKLIBS@
25 + APPLIBS = @MYAPPLIBS@
26 + LDENV = LD_RUN_PATH=/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
27 ++AR = @AR@
28 + RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
29 + MYPOSTCMD = @MYPOSTCMD@
30 +
31 --- a/configure.in
32 +++ b/configure.in
33 @@ -24,24 +24,6 @@
34 @@ -33,8 +43,17 @@
35 enables="$enables (debug)"
36 stable="yes"
37 fi
38 -@@ -187,19 +169,20 @@
39 +@@ -180,26 +161,28 @@
40 + then
41 + MYCFLAGS="-Wall -fPIC -fsigned-char -O1"
42 + fi
43 +- if gcc --version | egrep -i '^2\.(8|9)' > /dev/null 2>&1
44 ++ if $CC --version | egrep -i '^2\.(8|9)' > /dev/null 2>&1
45 + then
46 + MYCFLAGS="-Wall -fPIC -fsigned-char -O1"
47 + fi
48 fi
49 ++AC_CHECK_TOOL(AR, ar)
50
51 # Underlying libraries
52 +PKG_PROG_PKG_CONFIG
53 @@ -110,6 +129,15 @@
54
55
56 #================================================================
57 +@@ -134,7 +112,7 @@
58 + then
59 + MYCFLAGS="-Wall -fPIC -fsigned-char -O1"
60 + fi
61 +-if gcc --version | egrep -i '^2\.(8|9)' > /dev/null 2>&1
62 ++if $CC --version | egrep -i '^2\.(8|9)' > /dev/null 2>&1
63 + then
64 + MYCFLAGS="-Wall -fPIC -fsigned-char -O1"
65 + fi
66 @@ -158,7 +136,7 @@
67 AC_CHECK_LIB(lzo2, main)
68 AC_CHECK_LIB(bz2, main)