CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libsdl: initial import (verified compilation)
[attic/ports/opt-cross.git] / git / Pkgfile
index 91386091485b3cffc6e8efdfedf36ea124a43c97..a94389caeda19f479472b1ca0eeff280bc73b938 100644 (file)
@@ -6,7 +6,7 @@
 # Nice to have: tk
 
 name=git
-version=1.6.5.5
+version=1.6.6
 release=1
 source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
 
@@ -17,7 +17,8 @@ build() {
   # investigate whether there's a better way.
   sed -i -e '23,24d' -e '26d' perl/Makefile.PL
 
-  make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \
+  make CC="$CC" CFLAGS="$CFLAGS -I$CLFS/usr/include" \
+       prefix=/usr gitexecdir=/usr/lib/git-core \
        DESTDIR=$PKG install
 
   cd $SRC