summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-01-28 13:51:24 +0000
committertaca <taca@pkgsrc.org>2005-01-28 13:51:24 +0000
commite1f96ba5795bfeca8f1660f259ce8f0ca41a16db (patch)
treedd4f578b4ca5b70a9003861455a9be7cfa0a8921 /lang/ruby
parentce2ad89f1fd9b9ceb149d7115bc22f758e82d6ce (diff)
downloadpkgsrc-e1f96ba5795bfeca8f1660f259ce8f0ca41a16db.tar.gz
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 (limited to 'lang/ruby')
-rw-r--r--lang/ruby/rubyversion.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk
index 997da71cc60..565ae68b18f 100644
--- a/lang/ruby/rubyversion.mk
+++ b/lang/ruby/rubyversion.mk
@@ -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 @@ RDOC?= ${LOCALBASE}/bin/rdoc${RUBY_VER}
#
# 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.