CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fltk2: Updated to version r7513.
[attic/ports/opt-cross.git] / mutt / Pkgfile
index 36d493f63b6edb45284253e1ac4dcc671a94546d..eee90b5f3a39b26919fb8965da4b973c0fac983c 100644 (file)
@@ -1,7 +1,7 @@
 # Description: Text-based email client that sucks less
 # URL: http://www.mutt.org
 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: gdbm ncurses openssl zlib
 
 name=mutt
@@ -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 \