CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
alsa-utils: Initial import (verified compilation).
[attic/ports/opt-cross.git] / git / Pkgfile
index a94389caeda19f479472b1ca0eeff280bc73b938..b658c2ec3d4126e49d34365e7b80bd49f38bbab9 100644 (file)
@@ -6,7 +6,7 @@
 # Nice to have: tk
 
 name=git
-version=1.6.6
+version=1.7.0
 release=1
 source=(http://www.kernel.org/pub/software/scm/$name/$name-{,manpages-}$version.tar.bz2)
 
@@ -15,7 +15,8 @@ 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 \