pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby I've completely forgot that the ruby library...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ea7e6d1acc5
branches:  trunk
changeset: 488342:8ea7e6d1acc5
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Jan 28 13:51:24 2005 +0000

description:
I've completely forgot that the ruby library directory name on Linux
is still differ with Ruby 1.6.8.  So, tweak it Linux and ruby16 base.

diffstat:

 lang/ruby/rubyversion.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 8ac842bd5f24 -r 8ea7e6d1acc5 lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Fri Jan 28 13:36:26 2005 +0000
+++ b/lang/ruby/rubyversion.mk  Fri Jan 28 13:51:24 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.8 2005/01/28 13:30:15 minskim Exp $
+# $NetBSD: rubyversion.mk,v 1.9 2005/01/28 13:51:24 taca Exp $
 #
 
 .ifndef _RUBYVERSION_MK
@@ -121,7 +121,11 @@
 #
 # RUBY_ARCH is used architecture depended direcotry name.
 #
+.if ${OPSYS} == "Linux" && ${RUBY_VER} == "16"
+RUBY_ARCH?= ${LOWER_ARCH}-${LOWER_OPSYS}-gnu
+.else
 RUBY_ARCH?= ${LOWER_ARCH}-${LOWER_OPSYS}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}
+.endif
 
 #
 # RUBY_DLEXT is suffix of extention library.



Home | Main Index | Thread Index | Old Index