Lines 1-7
Link Here
|
1 |
# Copyright 1999-2020 Gentoo Authors |
1 |
# Copyright 1999-2020 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
PYTHON_COMPAT=( python3_{7,8} ) |
6 |
PYTHON_COMPAT=( python3_{7,8} ) |
7 |
USE_RUBY="ruby26 ruby25 ruby24" |
7 |
USE_RUBY="ruby26 ruby25 ruby24" |
Lines 9-15
Link Here
|
9 |
WANT_AUTOMAKE="none" |
9 |
WANT_AUTOMAKE="none" |
10 |
GENTOO_DEPEND_ON_PERL="no" |
10 |
GENTOO_DEPEND_ON_PERL="no" |
11 |
|
11 |
|
12 |
inherit autotools bash-completion-r1 db-use depend.apache flag-o-matic java-pkg-opt-2 libtool perl-module python-any-r1 ruby-single toolchain-funcs xdg-utils |
12 |
inherit autotools bash-completion-r1 db-use depend.apache flag-o-matic java-pkg-opt-2 |
|
|
13 |
inherit libtool perl-module prefix python-any-r1 ruby-single toolchain-funcs xdg-utils |
13 |
|
14 |
|
14 |
MY_P="${P/_/-}" |
15 |
MY_P="${P/_/-}" |
15 |
DESCRIPTION="Advanced version control system" |
16 |
DESCRIPTION="Advanced version control system" |
Lines 21-27
Link Here
|
21 |
LICENSE="Apache-2.0 BSD MIT BSD-2 FSFAP unicode" |
22 |
LICENSE="Apache-2.0 BSD MIT BSD-2 FSFAP unicode" |
22 |
SLOT="0" |
23 |
SLOT="0" |
23 |
[[ "${PV}" = *_rc* ]] || \ |
24 |
[[ "${PV}" = *_rc* ]] || \ |
24 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
25 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
25 |
IUSE="apache2 berkdb debug doc extras gnome-keyring java kwallet nls perl ruby sasl test" |
26 |
IUSE="apache2 berkdb debug doc extras gnome-keyring java kwallet nls perl ruby sasl test" |
26 |
RESTRICT="!test? ( test )" |
27 |
RESTRICT="!test? ( test )" |
27 |
|
28 |
|
Lines 162-167
Link Here
|
162 |
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \ |
163 |
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \ |
163 |
die "/bin/sh is not POSIX shell!" |
164 |
die "/bin/sh is not POSIX shell!" |
164 |
|
165 |
|
|
|
166 |
hprefixify build/ac-macros/svn-macros.m4 |
167 |
|
165 |
eautoconf |
168 |
eautoconf |
166 |
elibtoolize |
169 |
elibtoolize |
167 |
|
170 |
|
Lines 206-232
Link Here
|
206 |
fi |
209 |
fi |
207 |
|
210 |
|
208 |
case ${CHOST} in |
211 |
case ${CHOST} in |
209 |
*-aix*) |
|
|
210 |
# avoid recording immediate path to sharedlibs into executables |
211 |
append-ldflags -Wl,-bnoipath |
212 |
;; |
213 |
*-cygwin*) |
214 |
# no LD_PRELOAD support, no undefined symbols |
215 |
myconf+=( --disable-local-library-preloading LT_LDFLAGS=-no-undefined ) |
216 |
;; |
217 |
*-interix*) |
218 |
# loader crashes on the LD_PRELOADs... |
219 |
myconf+=( --disable-local-library-preloading ) |
220 |
;; |
221 |
*-solaris*) |
212 |
*-solaris*) |
222 |
# need -lintl to link |
213 |
# need -lintl to link |
223 |
use nls && append-libs intl |
214 |
use nls && append-libs intl |
224 |
# this breaks installation, on x64 echo replacement is 32-bits |
215 |
# this breaks installation, on x64 echo replacement is 32-bits |
225 |
myconf+=( --disable-local-library-preloading ) |
216 |
myconf+=( --disable-local-library-preloading ) |
226 |
;; |
217 |
;; |
227 |
*-mint*) |
|
|
228 |
myconf+=( --enable-all-static --disable-local-library-preloading ) |
229 |
;; |
230 |
*) |
218 |
*) |
231 |
# inject LD_PRELOAD entries for easy in-tree development |
219 |
# inject LD_PRELOAD entries for easy in-tree development |
232 |
myconf+=( --enable-local-library-preloading ) |
220 |
myconf+=( --enable-local-library-preloading ) |