diff options
author | dinoex <dinoex@FreeBSD.org> | 2015-03-08 18:07:35 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2015-03-08 18:07:35 +0800 |
commit | d963da3b8d0382bf614f808bbb00b0c5986d5081 (patch) | |
tree | 752876cd27971ca99a25f71962595a11b35d64d7 /graphics/graphviz | |
parent | 3eb2d9ee0f259b559c516d288ef013380f3c87ab (diff) | |
download | freebsd-ports-gnome-d963da3b8d0382bf614f808bbb00b0c5986d5081.tar.gz freebsd-ports-gnome-d963da3b8d0382bf614f808bbb00b0c5986d5081.tar.zst freebsd-ports-gnome-d963da3b8d0382bf614f808bbb00b0c5986d5081.zip |
- fix option RUBY to build with ruby 2.1
PR: 198329
Diffstat (limited to 'graphics/graphviz')
-rw-r--r-- | graphics/graphviz/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index d0216797bf7f..724c0cefe80f 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -174,10 +174,6 @@ BROKEN= guile is too old BROKEN= Ming incomplete, uses removed libgraph .endif -.if ${PORT_OPTIONS:MRUBY} -BROKEN= illegal macro in libdata/pkgconfig/ruby-1.9.pc -.endif - .if ${OSVERSION} > 1100000 .if ${PORT_OPTIONS:MPHP} BROKEN= code generated by swig fails to compile @@ -303,6 +299,7 @@ post-patch: ${REINPLACE_CMD} -e "s|/usr/include/php|${LOCALBASE}/include/php|g" \ -e "s|vendorarchdir|sitearchdir|g" \ -e "s|-lruby|-lruby${RUBY_SUFFIX}|g" \ + -e "s|ruby-1[.]9|ruby-${RUBY_VER}|g" \ -e "s|Config::|RbConfig::|" \ -e 's|PHP_INSTALL_DIR=.*|PHP_INSTALL_DIR="${PREFIX}/lib/php/${PHP_EXT_DIR}"|' \ -e 's|PHP_INSTALL_DATADIR=.*|PHP_INSTALL_DATADIR="${PREFIX}/share/php"|' \ |