[77468] trunk/dports/editors/vim
raimue at macports.org
raimue at macports.org
Thu Mar 31 11:17:07 PDT 2011
Revision: 77468
http://trac.macports.org/changeset/77468
Author: raimue at macports.org
Date: 2011-03-31 11:17:07 -0700 (Thu, 31 Mar 2011)
Log Message:
-----------
editors/vim:
Make sure we are always UsingTheRightCompiler, fixes #28810
Modified Paths:
--------------
trunk/dports/editors/vim/Portfile
Added Paths:
-----------
trunk/dports/editors/vim/files/patch-src-Makefile.diff
Modified: trunk/dports/editors/vim/Portfile
===================================================================
--- trunk/dports/editors/vim/Portfile 2011-03-31 18:07:25 UTC (rev 77467)
+++ trunk/dports/editors/vim/Portfile 2011-03-31 18:17:07 UTC (rev 77468)
@@ -6,6 +6,7 @@
set vim_version 7.3
set vim_patchlevel 125
version ${vim_version}.${vim_patchlevel}
+revision 1
categories editors
maintainers raimue
description Vi \"workalike\" with many additional features
@@ -38,6 +39,13 @@
# }
}
+# 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 \
Added: trunk/dports/editors/vim/files/patch-src-Makefile.diff
===================================================================
--- trunk/dports/editors/vim/files/patch-src-Makefile.diff (rev 0)
+++ trunk/dports/editors/vim/files/patch-src-Makefile.diff 2011-03-31 18:17:07 UTC (rev 77468)
@@ -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/838b6601/attachment.html>
More information about the macports-changes
mailing list