mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
- Remove MAKE_JOBS_UNSAFE as it build paralelly now - Switch to GitHub PR: 238569 Submitted by: m.tsatsenko@gmail.com (maintainer)
21 lines
746 B
Plaintext
21 lines
746 B
Plaintext
--- m4/ax_ruby.m4.orig 2018-04-16 02:40:31 UTC
|
|
+++ m4/ax_ruby.m4
|
|
@@ -2,7 +2,7 @@ AC_DEFUN([AX_RUBY],
|
|
[
|
|
RUBY=${RUBY:-"ruby"}
|
|
|
|
-RUBY_PREFIX=[`$RUBY -e 'require "rbconfig"; print Config::CONFIG["archdir"], "\n"'`]
|
|
+RUBY_PREFIX=[`$RUBY -e 'require "rbconfig"; print RbConfig::CONFIG["archdir"], "\n"'`]
|
|
AC_SUBST(RUBY_PREFIX)
|
|
|
|
has_ruby=false
|
|
@@ -21,7 +21,7 @@ if test $has_ruby = true
|
|
then
|
|
RUBY_CFLAGS="-I${RUBY_PREFIX}"
|
|
AC_SUBST(RUBY_CFLAGS)
|
|
- RUBY_SITE_PACKAGES=[`ruby -e 'require "rbconfig"; print Config::CONFIG["sitedir"], "\n"'`]
|
|
+ RUBY_SITE_PACKAGES=[`ruby -e 'require "rbconfig"; print RbConfig::CONFIG["sitearchdir"], "\n"'`]
|
|
AC_SUBST(RUBY_SITE_PACKAGES)
|
|
AC_DEFINE(HAVE_RUBY, 1, Define if you have ruby)
|
|
fi
|