components/graphviz/Makefile
branchs11-update
changeset 2813 db0bfa0fa498
parent 2434 6c9bb5cf5610
child 1948 2d1537e7942d
--- a/components/graphviz/Makefile	Tue Nov 05 06:16:44 2013 -0800
+++ b/components/graphviz/Makefile	Wed Nov 06 14:12:13 2013 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -52,6 +52,9 @@
 
 CONFIGURE_ENV +=	CPPFLAGS="$(CPPFLAGS)"
 CONFIGURE_ENV +=	PERL=$(PERL)
+# Explicitly use Ruby 1.8.  Allows switching Ruby default without
+# affecting graphviz build.
+CONFIGURE_ENV +=	RUBY=$(RUBY.1.8)
 CONFIGURE_OPTIONS +=	--without-included-ltdl
 CONFIGURE_OPTIONS +=	--enable-python=no
 CONFIGURE_OPTIONS +=	--enable-python26=yes