• R/O
  • HTTP
  • SSH
  • HTTPS

MacPorts: Commit

My MacPorts


Commit MetaInfo

Revisionc119e74dce2b77c13b677470fe5a5a2eb9dfc078 (tree)
Time2009-04-06 07:01:22
AuthorKazuki Sakamoto <sakamoto@splh...>
CommiterKazuki Sakamoto

Log Message

MacVim fix universal

Change Summary

Incremental Difference

--- a/editors/macvim/Portfile
+++ b/editors/macvim/Portfile
@@ -37,6 +37,14 @@ configure.args --enable-gui=macvim \
3737 configure.cppflags -I${prefix}/include
3838 configure.ldflags -L${prefix}/lib
3939
40+if {[variant_isset universal]} {
41+ configure.universal_target 10.4
42+ configure.args-append --with-mac-arch=both
43+ set xcodeconfig Universal
44+} else {
45+ set xcodeconfig Release
46+}
47+
4048 use_parallel_build yes
4149
4250 variant perl description {Enable Perl scripting} {
@@ -59,9 +67,6 @@ variant tcl description {Enable Tcl scripting} {
5967 variant cscope description {Enable source code browsing with cscope} {
6068 configure.args-append --enable-cscope
6169 }
62-variant universal {
63- configure.args-append --with-mac-arch=both
64-}
6570
6671 post-patch {
6772 reinplace \
@@ -69,11 +74,6 @@ post-patch {
6974 ${worksrcpath}/MacVim/mvim
7075 }
7176
72-if {[variant_isset universal]} {
73- set xcodeconfig Universal
74-} else {
75- set xcodeconfig Release
76-}
7777 post-build {
7878 system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}"
7979 }
Show on old repository browser