OSDN Git Service
(root)
/
splhack
/
MacPorts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a2c11c2
)
MacVim fix universal
author
Kazuki Sakamoto
<sakamoto@splhack.org>
Sun, 5 Apr 2009 22:01:22 +0000
(07:01 +0900)
committer
Kazuki Sakamoto
<sakamoto@splhack.org>
Sun, 5 Apr 2009 22:01:22 +0000
(07:01 +0900)
editors/macvim/Portfile
patch
|
blob
|
history
diff --git
a/editors/macvim/Portfile
b/editors/macvim/Portfile
index
6740d8f
..
97a4693
100644
(file)
--- a/
editors/macvim/Portfile
+++ b/
editors/macvim/Portfile
@@
-37,6
+37,14
@@
configure.args --enable-gui=macvim \
configure.cppflags -I${prefix}/include
configure.ldflags -L${prefix}/lib
configure.cppflags -I${prefix}/include
configure.ldflags -L${prefix}/lib
+if {[variant_isset universal]} {
+ configure.universal_target 10.4
+ configure.args-append --with-mac-arch=both
+ set xcodeconfig Universal
+} else {
+ set xcodeconfig Release
+}
+
use_parallel_build yes
variant perl description {Enable Perl scripting} {
use_parallel_build yes
variant perl description {Enable Perl scripting} {
@@
-59,9
+67,6
@@
variant tcl description {Enable Tcl scripting} {
variant cscope description {Enable source code browsing with cscope} {
configure.args-append --enable-cscope
}
variant cscope description {Enable source code browsing with cscope} {
configure.args-append --enable-cscope
}
-variant universal {
- configure.args-append --with-mac-arch=both
-}
post-patch {
reinplace \
post-patch {
reinplace \
@@
-69,11
+74,6
@@
post-patch {
${worksrcpath}/MacVim/mvim
}
${worksrcpath}/MacVim/mvim
}
-if {[variant_isset universal]} {
- set xcodeconfig Universal
-} else {
- set xcodeconfig Release
-}
post-build {
system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}"
}
post-build {
system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}"
}