mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@106576 d073be05-634f-4543-b044-5fe20cf6d1d6
57 lines
1.2 KiB
Diff
57 lines
1.2 KiB
Diff
--- ../../hyperestraier-1.4.13.org/rubynative/configure 2007-12-25 10:53:40.000000000 +0900
|
|
+++ configure 2013-05-31 14:59:00.000000000 +0900
|
|
@@ -1228,8 +1228,8 @@
|
|
|
|
|
|
# Export variables
|
|
-RUBY="ruby"
|
|
-RDOC="rdoc"
|
|
+#RUBY="ruby"
|
|
+#RDOC="rdoc"
|
|
MYRBLIBDIR=/usr/local/lib/ruby/site_ruby
|
|
MYRUNPATH=""
|
|
|
|
@@ -1258,7 +1258,7 @@
|
|
# Setting the default prefix
|
|
if test "$prefix" = NONE
|
|
then
|
|
- prefix=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("prefix"))'`
|
|
+ prefix=`$RUBY -rrbconfig -e 'puts(Config::CONFIG.fetch("prefix"))'`
|
|
fi
|
|
|
|
|
|
@@ -1269,23 +1269,23 @@
|
|
|
|
|
|
# Ruby interpreter
|
|
-printf 'checking RUBY... '
|
|
-if which ruby > /dev/null
|
|
-then
|
|
- RUBY=`which ruby`
|
|
-fi
|
|
+#printf 'checking RUBY... '
|
|
+#if which ruby > /dev/null
|
|
+#then
|
|
+# RUBY=`which ruby`
|
|
+#fi
|
|
printf '%s\n' "$RUBY"
|
|
|
|
# Other building tools
|
|
printf 'checking RDOC... '
|
|
-if which rdoc > /dev/null
|
|
-then
|
|
- RDOC=`which rdoc`
|
|
-fi
|
|
+#if which rdoc > /dev/null
|
|
+#then
|
|
+# RDOC=`which rdoc`
|
|
+#fi
|
|
printf '%s\n' "$RDOC"
|
|
|
|
# Librarh path
|
|
-myrblibdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("sitelibdir"))'`
|
|
+myrblibdir=`$RUBY -rrbconfig -e 'puts(Config::CONFIG.fetch("vendorarchdir"))'`
|
|
if test -n "$myrblibdir"
|
|
then
|
|
MYRBLIBDIR="$myrblibdir"
|