CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
imlib2: Fixed freetype and X link to clfs instead of host libs/includes
[attic/ports/opt-cross.git] / git / Pkgfile
index 75929f90abb56d147dde29501c29325241e64d7c..b658c2ec3d4126e49d34365e7b80bd49f38bbab9 100644 (file)
@@ -6,7 +6,7 @@
 # Nice to have: tk
 
 name=git
-version=1.6.6.1
+version=1.7.0
 release=1
 source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
 
@@ -15,11 +15,12 @@ build() {
 
   # 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 CC="$CC" CFLAGS="$CFLAGS -I$CLFS/usr/include" \
        prefix=/usr gitexecdir=/usr/lib/git-core \
-       DESTDIR=$PKG install 
+       DESTDIR=$PKG install
 
   cd $SRC