aboutsummaryrefslogtreecommitdiffstats
path: root/net/ruby-mpi
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-01-17 21:16:03 +0800
committerpav <pav@FreeBSD.org>2006-01-17 21:16:03 +0800
commita374074224732b48ddf18e0132b5334380e35439 (patch)
treef5642a35536406a7061afb53edb50e3b5366d8e6 /net/ruby-mpi
parent57f46cb0a61d3e3ee797ceac23ed167b8ffc4a44 (diff)
downloadfreebsd-ports-gnome-a374074224732b48ddf18e0132b5334380e35439.tar.gz
freebsd-ports-gnome-a374074224732b48ddf18e0132b5334380e35439.tar.zst
freebsd-ports-gnome-a374074224732b48ddf18e0132b5334380e35439.zip
- Fix configure patch to properly pick up needed libraries
Reported by: krismail
Diffstat (limited to 'net/ruby-mpi')
-rw-r--r--net/ruby-mpi/files/patch-configure19
1 files changed, 6 insertions, 13 deletions
diff --git a/net/ruby-mpi/files/patch-configure b/net/ruby-mpi/files/patch-configure
index 3dbaef35b36a..6e993ef6c1f5 100644
--- a/net/ruby-mpi/files/patch-configure
+++ b/net/ruby-mpi/files/patch-configure
@@ -1,20 +1,13 @@
---- configure-orig Sun Apr 24 22:32:31 2005
-+++ configure Sun Apr 24 22:32:47 2005
-@@ -2778,7 +2778,7 @@
- { echo "$as_me:$LINENO: WARNING: Could not find Config Ruby module. Assuming CFLAGS and LIBS for Ruby are in standard path..." >&5
- echo "$as_me: WARNING: Could not find Config Ruby module. Assuming CFLAGS and LIBS for Ruby are in standard path..." >&2;}
- RUBY_CFLAGS=""
-- RUBY_LIBS="-lruby"
-+ RUBY_LIBS="-lruby18"
- else
- echo "$as_me:$LINENO: result: yes" >&5
- echo "${ECHO_T}yes" >&6
-@@ -2792,7 +2792,7 @@
+--- configure.orig Mon Jun 30 14:10:21 2003
++++ configure Tue Jan 17 14:03:02 2006
+@@ -2791,8 +2791,9 @@
+ echo "${ECHO_T}$RUBY_CFLAGS" >&6
echo "$as_me:$LINENO: checking ruby LIBS" >&5
echo $ECHO_N "checking ruby LIBS... $ECHO_C" >&6
++ RUBY_LIBS=`ruby -e "require 'rbconfig'" -e "print '-l' + Config::MAKEFILE_CONFIG['RUBY_SO_NAME'] + ' ' + Config::MAKEFILE_CONFIG['LIBS']"`
RB_LIB_DIR=`$RUBY -e 'require "rbconfig"; puts Config::CONFIG["libdir"]'`
- RUBY_LIBS="-lruby -L$RB_LIB_DIR"
-+ RUBY_LIBS="-lruby18 -L$RB_LIB_DIR"
++ RUBY_LIBS="$RUBY_LIBS -L$RB_LIB_DIR"
echo "$as_me:$LINENO: result: $RUBY_LIBS" >&5
echo "${ECHO_T}$RUBY_LIBS" >&6
fi