summaryrefslogtreecommitdiff
path: root/data/vim
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
committerJay Freeman <saurik@saurik.com>2008-04-06 10:28:29 +0000
commitd699a01fabaa04a1aad60f6ca5777f82ee24839a (patch)
tree1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/vim
parent8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff)
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/vim')
l---------data/vim/_metadata/ncurses.dep1
-rw-r--r--data/vim/make.sh6
-rw-r--r--data/vim/strip.diff19
3 files changed, 23 insertions, 3 deletions
diff --git a/data/vim/_metadata/ncurses.dep b/data/vim/_metadata/ncurses.dep
new file mode 120000
index 000000000..a395fad08
--- /dev/null
+++ b/data/vim/_metadata/ncurses.dep
@@ -0,0 +1 @@
+../../ncurses \ No newline at end of file
diff --git a/data/vim/make.sh b/data/vim/make.sh
index 4e0b397c1..b8e239331 100644
--- a/data/vim/make.sh
+++ b/data/vim/make.sh
@@ -1,10 +1,10 @@
-tar -jxvf "${PKG_DATA}/vim-7.1.tar.bz2"
-cd vim71
+pkg:extract
+cd *
pkg:patch
cd src
autoconf
cd ..
-STRIP=$(which arm-apple-darwin-strip) CFLAGS='-O0' ./configure --prefix=/usr --host=arm-apple-darwin --enable-gui=no --without-x vim_cv_toupper_broken=no --with-tlib=ncurses vim_cv_terminfo=yes vim_cv_tty_group=4 vim_cv_tty_mode=0620 vim_cv_getcwd_broken=no vim_cv_stat_ignores_slash=no ac_cv_sizeof_int=4 vim_cv_memmove_handles_overlap=yes
+pkg:configure --enable-gui=no --without-x vim_cv_toupper_broken=no --with-tlib=ncurses vim_cv_terminfo=yes vim_cv_tty_group=4 vim_cv_tty_mode=0620 vim_cv_getcwd_broken=no vim_cv_stat_ignores_slash=no ac_cv_sizeof_int=4 vim_cv_memmove_handles_overlap=yes
make
pkg:install
pkg: mkdir -p /etc/profile.d
diff --git a/data/vim/strip.diff b/data/vim/strip.diff
new file mode 100644
index 000000000..bbd88eed7
--- /dev/null
+++ b/data/vim/strip.diff
@@ -0,0 +1,19 @@
+diff -r -u vim71/src/Makefile vim71+iPhone/src/Makefile
+--- vim71/src/Makefile 2007-05-12 11:57:13.000000000 +0000
++++ vim71+iPhone/src/Makefile 2008-04-04 18:50:37.000000000 +0000
+@@ -1758,7 +1758,6 @@
+ rm -f $(DEST_BIN)/$(VIMNAME).rm; \
+ fi
+ $(INSTALL_PROG) $(VIMTARGET) $(DEST_BIN)
+- $(STRIP) $(DEST_BIN)/$(VIMTARGET)
+ chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET)
+ # may create a link to the new executable from /usr/bin/vi
+ -$(LINKIT)
+@@ -1889,7 +1888,6 @@
+ rm -f $(DEST_BIN)/xxd.rm; \
+ fi
+ $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN)
+- $(STRIP) $(DEST_BIN)/xxd$(EXEEXT)
+ chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT)
+ -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS)
+