CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libpcap: removed commented lines
[attic/ports/opt-cross.git] / mutt / Pkgfile
index eae1a9b55f923ab0ad092f16929ecb2e674e7592..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,7 +12,10 @@ source=(ftp://ftp.mutt.org/mutt/devel/$name-$version.tar.gz \
 
 build () {
   cd $name-$version
-  sed '/^SUBDIRS/ s/doc//' -i Makefile.am
+  sed '/^SUBDIRS/ s/doc//' -i Makefile*
+  export CPPFLAGS="-I$CLFS/usr/include"
+  export CFLAGS="$CPPFLAGS"
+  export oldincludedir="$CFLAGS"
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \