svn commit: r380755 - head/graphics/graphviz

Dirk Meyer dinoex at FreeBSD.org
Sun Mar 8 10:07:36 UTC 2015


Author: dinoex
Date: Sun Mar  8 10:07:35 2015
New Revision: 380755
URL: https://svnweb.freebsd.org/changeset/ports/380755
QAT: https://qat.redports.org/buildarchive/r380755/

Log:
  - fix option RUBY to build with ruby 2.1
  PR:		198329

Modified:
  head/graphics/graphviz/Makefile

Modified: head/graphics/graphviz/Makefile
==============================================================================
--- head/graphics/graphviz/Makefile	Sun Mar  8 10:03:33 2015	(r380754)
+++ head/graphics/graphviz/Makefile	Sun Mar  8 10:07:35 2015	(r380755)
@@ -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"|' \


More information about the svn-ports-head mailing list