From 9ae6173dbe29ddc3cec706e0c4e342f04f364fa0 Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 06:24:03 +0100 Subject: Recette de groff mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- groff/Pkgfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'groff/Pkgfile') diff --git a/groff/Pkgfile b/groff/Pkgfile index dbd3cb7..9df3cfa 100644 --- a/groff/Pkgfile +++ b/groff/Pkgfile @@ -13,10 +13,17 @@ build () cd $name-$version; touch doc/gnu.eps; ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ --prefix=$prefix \ --mandir=$mandir \ --without-x; - make; + if [[ "$CHOST" = "$CTARGET" ]]; then + make; + else + # This will need troff and groff already available at build time on the host. + make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=; + fi make DESTDIR=$PKG install; ln -sf eqn $PKG$prefix/bin/geqn; ln -sf tbl $PKG$prefix/bin/gtbl; -- cgit v1.2.3-70-g09d2