CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mutt: fixed vars to link with the propper headers.
[attic/ports/opt-cross.git] / mutt / Pkgfile
index eae1a9b55f923ab0ad092f16929ecb2e674e7592..36d493f63b6edb45284253e1ac4dcc671a94546d 100644 (file)
@@ -13,6 +13,9 @@ 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"
+  export CPPFLAGS="-I$CLFS/usr/include"
+  export CFLAGS="-I$CLFS/usr/include"
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \