# Nice to have: tk
name=git
-version=1.6.5.5
+version=1.7.0
release=1
source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
# install Error.pm. this pretty much sucks but i'm too lazy to
# investigate whether there's a better way.
- sed -i -e '23,24d' -e '26d' perl/Makefile.PL
+ sed -i perl/Makefile.PL -e '23,24d' -e '26d'
+ sed -i Makefile -e 's|CFLAGS =|CFLAGS :=|'
- 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