CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mutt: fixed compilation with clfs headers. Removed doc generation.
authorVictor Martinez <pitillo@ono.com>
Wed, 20 Jan 2010 08:55:01 +0000 (08:55 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 20 Jan 2010 08:55:22 +0000 (08:55 +0000)
mutt/Pkgfile

index 36d493f63b6edb45284253e1ac4dcc671a94546d..c68255379b05d81214e1799d54d86512c10ad9c3 100644 (file)
@@ -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 \