From 1d01c84b84e9c1643070fead744203cd91675aa7 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sat, 17 Jul 2004 09:32:05 +0000 Subject: [PATCH] =?UTF-8?q?Et=20merde.=20Positionner=20CPPFLAGS,=20CFLAGS?= =?UTF-8?q?=20et=20LIBS=20pour=20que=20les=20packages=20en=20construction?= =?UTF-8?q?=20trouvent=20bien=20le=20buildir=20dans=20lequel=20ils=20sont?= =?UTF-8?q?=20temporairement=20install=C3=A9s.=20Ca=20marchait=20sous=20Li?= =?UTF-8?q?nux=20parcque=20qu'il=20y=20avait=20d=C3=A9j=C3=A0=20un=20/opt/?= =?UTF-8?q?alliance-5.0=20dans=20le=20syst=C3=A8me,=20mais=20=C3=A7a=20rat?= =?UTF-8?q?ait=20sous=20Solaris...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alliance/src/distrib/mkdistrib | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/alliance/src/distrib/mkdistrib b/alliance/src/distrib/mkdistrib index 1c31f5ca..2f115e43 100755 --- a/alliance/src/distrib/mkdistrib +++ b/alliance/src/distrib/mkdistrib @@ -3,7 +3,7 @@ # Copyright (C) 1999, 2000, 2001, 2002, 2003 Czo # License: GPL (http://www.gnu.org/copyleft/gpl.html) # -# $Id: mkdistrib,v 1.14 2004/07/16 21:18:15 jpc Exp $ +# $Id: mkdistrib,v 1.15 2004/07/17 09:32:05 jpc Exp $ # # /------------------------------------------------------------------\ # | | @@ -221,11 +221,14 @@ try mkdir -p $TMPDESTDIR/$TARGET $TMPBUILDDIR/$TARGET ssh -n $TARGET \ - "cd $DISTRIBDIR/$TMPBUILDDIR/$TARGET ; \ - ALLIANCE_TOP=$ALLIANCE_TOP ; export ALLIANCE_TOP ; \ + "cd $DISTRIBDIR/$TMPBUILDDIR/$TARGET; \ + ALLIANCE_TOP=$ALLIANCE_TOP; export ALLIANCE_TOP; \ + CPPFLAGS=-I$DISTRIBDIR/$TMPDESTDIR/$TARGET/include; export CPPFLAGS; \ + CFLAGS=-I$DISTRIBDIR/$TMPDESTDIR/$TARGET/include; export CFLAGS; \ + LIBS=-L$DISTRIBDIR/$TMPDESTDIR/$TARGET/lib; export LIBS; \ MAKE=gmake; export MAKE; \ PATH=${PATH}:/usr/ccs/bin; export PATH; \ - ../../$NAME/configure --prefix=$ALLIANCE_TOP ; \ + ../../$NAME/configure --prefix=$ALLIANCE_TOP --enable-alc-shared; \ gmake DESTDIR=$DISTRIBDIR/$TMPDESTDIR/$TARGET install \ && echo Alliance_compilation_OK" 2>&1 | tee $TARGETLOGFILE try grep Alliance_compilation_OK $TARGETLOGFILE