Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2015 10:07:35 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r380755 - head/graphics/graphviz
Message-ID:  <201503081007.t28A7ZUP036860@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503081007.t28A7ZUP036860>