Replacing spaces with tabs in eclass

Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit 87798f8550)
r14.1.x
ormorph 1 year ago committed by Slávek Banko
parent cb6ddcfed9
commit be32399f74
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -211,53 +211,53 @@ trinity_l10n_for_each_locale_do() {
# @DESCRIPTION: # @DESCRIPTION:
# This function prepares the source for building. # This function prepares the source for building.
trinity-admin-prepare() { trinity-admin-prepare() {
pushd "${PWD}/admin" pushd "${PWD}/admin"
libtoolize -c || die "Error libtoolize" libtoolize -c || die "Error libtoolize"
cp -Rp /usr/share/aclocal/libtool.m4 "libtool.m4.in" || die "No such file: libtool.m4" cp -Rp /usr/share/aclocal/libtool.m4 "libtool.m4.in" || die "No such file: libtool.m4"
cp -Rp /usr/share/libtool/build-aux/config.* . || die cp -Rp /usr/share/libtool/build-aux/config.* . || die
popd popd
} }
# @FUNCTION: trinity-gen-configure # @FUNCTION: trinity-gen-configure
# @DESCRIPTION: # @DESCRIPTION:
# This function generates a configure script to build. # This function generates a configure script to build.
trinity-gen-configure() { trinity-gen-configure() {
trinity-admin-prepare trinity-admin-prepare
emake -f admin/Makefile.common || die "Error creating configuration" emake -f admin/Makefile.common || die "Error creating configuration"
} }
# @FUNCTION: trinity-econf # @FUNCTION: trinity-econf
# @DESCRIPTION: # @DESCRIPTION:
# This function configures the assembly. # This function configures the assembly.
trinity-econf() { trinity-econf() {
local myconf local myconf
myconf=(--prefix="${TDEDIR}" myconf=(--prefix="${TDEDIR}"
--bindir="${TDEDIR}/bin" --bindir="${TDEDIR}/bin"
--datadir="${TDEDIR}/share" --datadir="${TDEDIR}/share"
--includedir="${TDEDIR}/include" --includedir="${TDEDIR}/include"
--libdir="${TDEDIR}/$(get_libdir)" --libdir="${TDEDIR}/$(get_libdir)"
--disable-dependency-tracking --disable-dependency-tracking
--enable-new-ldflags --enable-new-ldflags
--enable-final --enable-final
--enable-closure --enable-closure
--enable-rpath) --enable-rpath)
if has "debug" ${IUSE} || has "-debug" ${IUSE} || has "+debug" ${IUSE}; then if has "debug" ${IUSE} || has "-debug" ${IUSE} || has "+debug" ${IUSE}; then
use debug && myconf+=(--enable-debug=yes) || myconf+=(--disable-debug) use debug && myconf+=(--enable-debug=yes) || myconf+=(--disable-debug)
else else
myconf+=(--disable-debug) myconf+=(--disable-debug)
fi fi
if [[ "${TRINITY_NEED_ARTS}" == "yes" ]]; then if [[ "${TRINITY_NEED_ARTS}" == "yes" ]]; then
echo "configure ${myconf[@]} $@" echo "configure ${myconf[@]} $@"
./configure ${myconf[@]} $@ || die "Error creating configuration" ./configure ${myconf[@]} $@ || die "Error creating configuration"
elif [[ "${TRINITY_NEED_ARTS}" == "optional" ]]; then elif [[ "${TRINITY_NEED_ARTS}" == "optional" ]]; then
use arts || myconf+=(--without-arts) use arts || myconf+=(--without-arts)
echo "./configure ${myconf[@]} $@" echo "./configure ${myconf[@]} $@"
build_arts=$(usex arts yes no) ./configure ${myconf[@]} $@ || die "Error creating configuration" build_arts=$(usex arts yes no) ./configure ${myconf[@]} $@ || die "Error creating configuration"
else else
myconf+=(--without-arts) myconf+=(--without-arts)
echo "./configure ${myconf[@]} $@" echo "./configure ${myconf[@]} $@"
build_arts=no ./configure ${myconf[@]} $@ || die "Error creating configuration" build_arts=no ./configure ${myconf[@]} $@ || die "Error creating configuration"
fi fi
} }

Loading…
Cancel
Save