aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/graphviz
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/graphviz')
-rw-r--r--graphics/graphviz/Makefile5
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"|' \