$OpenBSD$ --- configure.orig Tue Oct 29 19:04:03 2002 +++ configure Tue Oct 29 19:05:20 2002 @@ -7523,29 +7523,9 @@ else ACLOCAL=aclocal fi -if test ! -x /usr/lib/ruby/1.6; then - if test ! -x ruby-1.6.7/; then - if test ! -e tarballs/ruby-1.6.7.tar.gz; then - wget -nc ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.6.7.tar.gz -O tarballs/ruby-1.6.7.tar.gz - fi - tar xfz tarballs/ruby-1.6.7.tar.gz - fi - cd ruby-1.6.7/ - if test ! -e Makefile; then - ./configure - fi - make - cd .. - LDFLAGS="$LDFLAGS -L`pwd`/ruby-1.6.7" -else - if test -d /usr/lib/ruby/1.6/i386-linux; then - # libruby.a hides here (sometimes?) (can it be generalized?) - STATIC_RUBY_LDADD="-L/usr/lib/ruby/1.6/i386-linux" - fi -fi - - - +# ruby checks done in port makefile +# jose@ +STATIC_RUBY_LDADD="-L${LOCALBASE}/lib" # needed for ruby.a