summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-09-25 20:13:54 +0000
committerBram Moolenaar <Bram@vim.org>2007-09-25 20:13:54 +0000
commitdfc7aa2ccde2e4a833afb0a9a89d8abc9eacd604 (patch)
tree1f52eb498592918ca8783a021e3776a8c4532930
parent5461cfe289b5a4a1ab9660e4e6145d13e8db9e57 (diff)
downloadvim-git-dfc7aa2ccde2e4a833afb0a9a89d8abc9eacd604.tar.gz
updated for version 7.1-122v7.1.122
-rw-r--r--src/main.aap13
-rw-r--r--src/version.c2
2 files changed, 12 insertions, 3 deletions
diff --git a/src/main.aap b/src/main.aap
index b224058de..54debd607 100644
--- a/src/main.aap
+++ b/src/main.aap
@@ -56,9 +56,16 @@
config {virtual} auto/config.h auto/config.aap :
auto/configure.aap configure.aap
config.arg config.h.in config.aap.in
+ # Use "uname -a" to detect the architecture of the system.
+ @ok, uname = redir_system('uname -a', 0)
+ @if string.find(uname, "i386") >= 0:
+ @ arch = "i386"
+ @else:
+ @ arch = "ppc"
+ :print Building for $arch system
:sys CONFIG_STATUS=auto/config.status
./configure.aap `file2string("config.arg")`
- --with-mac-arch=ppc
+ --with-mac-arch=$arch
--cache-file=auto/config.cache
# Configure arguments: create an empty "config.arg" file when its missing
@@ -1167,7 +1174,7 @@ install_macosx {virtual}: gui_bundle
:symlink `os.getcwd()`/../runtime $RESDIR/vim/runtime
# TODO: Create the vimtutor application.
-gui_bundle {virtual}: $(RESDIR) bundle-dir bundle-executable bundle-info
+gui_bundle {virtual}: $(RESDIR) bundle-dir bundle-executable bundle-info \
bundle-resource bundle-language
bundle-dir {virtual}: $(APPDIR)/Contents $(VIMTARGET)
@@ -1187,7 +1194,7 @@ bundle-info {virtual}: bundle-dir
:sys m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
bundle-resource {virtual}: bundle-dir bundle-rsrc
- :copy {force} $(RSRC_DIR)/*.icns $(RESDIR)
+ :copy {force} $(RSRC_DIR)/*.icns $(RESDIR)
### Classic resources
# Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
diff --git a/src/version.c b/src/version.c
index aeeb316aa..21f538cdb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 122,
+/**/
121,
/**/
120,