From b2d88ce12fe417affb3fd8b410779d26b6e112d0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 28 Jan 2010 06:20:37 +0000 Subject: tweak lzma option to use xz and display configure script when running it --- sys-apps/man/man-1.6f-r4.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'sys-apps/man') diff --git a/sys-apps/man/man-1.6f-r4.ebuild b/sys-apps/man/man-1.6f-r4.ebuild index 09ae828e4134..01cf89b91bfa 100644 --- a/sys-apps/man/man-1.6f-r4.ebuild +++ b/sys-apps/man/man-1.6f-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.6f-r4.ebuild,v 1.1 2010/01/27 02:35:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.6f-r4.ebuild,v 1.2 2010/01/28 06:20:37 vapier Exp $ EAPI="2" inherit eutils toolchain-funcs @@ -45,6 +45,7 @@ src_prepare() { sed -i -e '/^DEFAULTLESSOPT=/s:"$:R":' configure } +echoit() { echo "$@" ; "$@" ; } src_configure() { strip-linguas $(eval $(grep ^LANGUAGES= configure) ; echo ${LANGUAGES//,/ }) @@ -62,12 +63,13 @@ src_configure() { else mylang="none" fi - if use lzma; then - mycompress=/usr/bin/lzma + export COMPRESS + if use lzma ; then + COMPRESS=/usr/bin/xz else - mycompress=/bin/bzip2 + COMPRESS=/bin/bzip2 fi - COMPRESS=$mycompress \ + echoit \ ./configure \ -confdir=/etc \ +sgid +fhs \ -- cgit v1.2.3-65-gdbad