OSDN Git Service

vim-app fix for +ruby
authorKazuki Sakamoto <sakamoto@splhack.org>
Wed, 25 Mar 2009 21:40:45 +0000 (06:40 +0900)
committerKazuki Sakamoto <sakamoto@splhack.org>
Wed, 25 Mar 2009 21:40:45 +0000 (06:40 +0900)
editors/vim-app/Portfile

index 555614e..15dfdf3 100644 (file)
@@ -7,7 +7,7 @@ set realname        vim
 set vim_version     7.2
 set vim_patchlevel  147
 version             ${vim_version}.${vim_patchlevel}
-revision                       0
+revision                       1
 categories          editors
 maintainers         nomaintainer
 description         Vim.app is a GUI version of the famous editor vim.
@@ -66,8 +66,9 @@ configure.args      --without-x \
                     --with-tlib=ncurses \
                     --enable-multibyte \
                     --with-features=huge
-configure.env       CPPFLAGS="-DSYS_VIMRC_FILE=\"${prefix}/etc/vimrc\" -I${prefix}/include" \
-                    LDFLAGS="-L${prefix}/lib"
+configure.cppflags  -DSYS_VIMRC_FILE=\\"${prefix}/etc/vimrc\\" \
+                    -I${prefix}/include
+configure.ldflags   -L${prefix}/lib
 
 extract.only        [suffix ${realname}-${vim_version}]
 post-extract {
@@ -135,7 +136,7 @@ variant python description {Enable Python scripting} {
 }
 variant ruby description {Enable Ruby scripting} {
     configure.args-append   --enable-rubyinterp
-       configure.env-append    RC_ARCHS=
+    configure.env-append    ARCHFLAGS="-L${prefix}/lib"
     depends_lib-append      bin:ruby:ruby
 }
 variant tcl description {Enable Tcl scripting} {