From: Victor Martinez Date: Wed, 20 Jan 2010 08:55:01 +0000 (+0000) Subject: mutt: fixed compilation with clfs headers. Removed doc generation. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=1f113e9b5ddf6e053cf2cd0915f555ffadd74879;p=attic%2Fports%2Fopt-cross.git mutt: fixed compilation with clfs headers. Removed doc generation. --- diff --git a/mutt/Pkgfile b/mutt/Pkgfile index 36d493f..c682553 100644 --- a/mutt/Pkgfile +++ b/mutt/Pkgfile @@ -12,10 +12,10 @@ source=(ftp://ftp.mutt.org/mutt/devel/$name-$version.tar.gz \ build () { cd $name-$version - sed '/^SUBDIRS/ s/doc//' -i Makefile.am - export oldincludedir"=I$CLFS/usr/include" + sed '/^SUBDIRS/ s/doc//' -i Makefile* export CPPFLAGS="-I$CLFS/usr/include" - export CFLAGS="-I$CLFS/usr/include" + export CFLAGS="$CPPFLAGS" + export oldincludedir="$CFLAGS" ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \