--- /dev/null
+upstream: http://groups.google.com/group/vim_dev/browse_thread/thread/5685c3b859e3c793#
+status: reported upstream
+--- vim72-orig/src/configure.in 2010-09-29 19:13:33.000000000 +0200
++++ vim72/src/configure.in 2010-09-29 19:17:07.000000000 +0200
+@@ -35,10 +35,10 @@
+ fi
+ if test "$GCC" = yes; then
+ dnl method that should work for nearly all versions
+- gccversion=`"$CC" -dumpversion`
++ gccversion=`$CC -dumpversion`
+ if test "x$gccversion" = "x"; then
+ dnl old method; fall-back for when -dumpversion doesn't work
+- gccversion=`"$CC" --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[[^0-9]]*\([[0-9]]\.[[0-9.]]*\).*$/\1/g'`
++ gccversion=`$CC --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[[^0-9]]*\([[0-9]]\.[[0-9.]]*\).*$/\1/g'`
+ fi
+ dnl version 4.0.1 was reported to cause trouble on Macintosh by Marcin Dalecki
+ if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
RSUGGESTS_${PN} = "diffutils"
LICENSE = "vim"
-INC_PR = "r7"
+INC_PR = "r8"
SRC_URI = "ftp://ftp.vim.org/pub/vim/unix/vim-${PV}.tar.bz2;name=vim${PV}tarbz2 \
ftp://ftp.vim.org/pub/vim/extra/vim-${PV}-extra.tar.gz;name=vim${PV}extratargz \
# 001-411.diff contains 411 patches fetched from upstream
SRC_URI += "file://001-411.diff;apply=no"
+SRC_URI += "file://configure.in_remove_CC_quotes.patch;apply=no"
# we need to apply patches in other dir then ${S}
do_applypatch() {
cd ${WORKDIR}/vim${VIMVER}
patch -p1 <${WORKDIR}/001-411.diff
+ patch -p1 <${WORKDIR}/configure.in_remove_CC_quotes.patch
}
addtask applypatch after do_unpack before do_patch