[77471] trunk/dports/editors/vim-app

raimue at macports.org raimue at macports.org
Thu Mar 31 12:21:49 PDT 2011


Revision: 77471
          http://trac.macports.org/changeset/77471
Author:   raimue at macports.org
Date:     2011-03-31 12:21:47 -0700 (Thu, 31 Mar 2011)
Log Message:
-----------
editors/vim-app: Merge r77468 from editors/vim

Revision Links:
--------------
    http://trac.macports.org/changeset/77468

Modified Paths:
--------------
    trunk/dports/editors/vim-app/Portfile

Added Paths:
-----------
    trunk/dports/editors/vim-app/files/patch-src-Makefile.diff

Property Changed:
----------------
    trunk/dports/editors/vim-app/


Property changes on: trunk/dports/editors/vim-app
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk/dports/editors/vim:71779
   + /trunk/dports/editors/vim:71779,77468

Modified: trunk/dports/editors/vim-app/Portfile
===================================================================
--- trunk/dports/editors/vim-app/Portfile	2011-03-31 18:45:26 UTC (rev 77470)
+++ trunk/dports/editors/vim-app/Portfile	2011-03-31 19:21:47 UTC (rev 77471)
@@ -7,6 +7,7 @@
 set vim_version     7.3
 set vim_patchlevel  125
 version             ${vim_version}.${vim_patchlevel}
+revision            1
 categories          editors
 maintainers         raimue
 description         Vim.app is a GUI version of the famous editor vim.
@@ -44,6 +45,13 @@
 # 7.3.021 disabled, #26792
 patchfiles-delete 7.3.021
 
+# Use MacPorts' default compilers
+# http://trac.macports.org/wiki/UsingTheRightCompiler
+patchfiles-append   patch-src-Makefile.diff
+post-patch {
+    reinplace "s|@@CC@@|${configure.cc}|g" ${worksrcpath}/src/Makefile
+}
+
 checksums \
   vim-${vim_version}${extract.suffix} \
     md5     5b9510a17074e2b37d8bb38ae09edbf2 \

Copied: trunk/dports/editors/vim-app/files/patch-src-Makefile.diff (from rev 77468, trunk/dports/editors/vim/files/patch-src-Makefile.diff)
===================================================================
--- trunk/dports/editors/vim-app/files/patch-src-Makefile.diff	                        (rev 0)
+++ trunk/dports/editors/vim-app/files/patch-src-Makefile.diff	2011-03-31 19:21:47 UTC (rev 77471)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig	2011-03-31 20:03:56.000000000 +0200
++++ src/Makefile	2011-03-31 20:07:55.000000000 +0200
+@@ -537,6 +537,8 @@
+ #CC = cc
+ #CC = gcc
+ 
++CC = @@CC@@
++
+ # COMPILER FLAGS - change as you please. Either before running {{{1
+ # configure or afterwards. For examples see below.
+ # When using -g with some older versions of Linux you might get a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110331/6f3cd673/attachment.html>


More information about the macports-changes mailing list