pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby - Introduce RUBY_DLEXT which is used to repl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce3384f221de
branches: trunk
changeset: 485140:ce3384f221de
user: taca <taca%pkgsrc.org@localhost>
date: Sat Dec 04 16:05:06 2004 +0000
description:
- Introduce RUBY_DLEXT which is used to replace suffix of Ruby's
extention library. It will be used for Darwin support.
- Change RUBY_VERSION_LIST from space separated list to comma separated
list.
diffstat:
lang/ruby/rubyversion.mk | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diffs (44 lines):
diff -r d0f2eafc59fc -r ce3384f221de lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk Sat Dec 04 15:49:07 2004 +0000
+++ b/lang/ruby/rubyversion.mk Sat Dec 04 16:05:06 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.4 2004/12/01 15:30:16 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.5 2004/12/04 16:05:06 taca Exp $
#
.ifndef _RUBYVERSION_MK
@@ -41,7 +41,7 @@
# RUBY_VERSION_LIST defines the list of ${RUBY_VER} which is known to
# this framework.
#
-RUBY_VERSION_LIST= 16 18
+RUBY_VERSION_LIST= 16,18
# RUBY_NOVERSION should be set to "Yes" if the package dosen't depend on
# any specific version of ruby command. In this case, package's
@@ -119,6 +119,15 @@
.endif
#
+# RUBY_DLEXT is suffix of extention library.
+#
+.if ${OPSYS} == "Darwin"
+RUBY_DLEXT= bundle
+.else
+RUBY_DLEXT= so
+.endif
+
+#
# common PATH
#
RUBY_LIBDIR?= ${LOCALBASE}/lib/ruby/${RUBY_VER_DIR}
@@ -146,7 +155,8 @@
RUBY_SITELIBDIR="${RUBY_SITELIBDIR}" \
RUBY_SITEARCHLIBDIR="${RUBY_SITEARCHLIBDIR}" \
RUBY_DOCDIR="${RUBY_DOCDIR}" \
- RUBY_EXAMPLESDIR="${RUBY_EXAMPLESDIR}"
+ RUBY_EXAMPLESDIR="${RUBY_EXAMPLESDIR}" \
+ RUBY_DLEXT="${RUBY_DLEXT}"
PLIST_SUBST+= RUBY_VER="${RUBY_VER}" \
${PLIST_RUBY_DIRS:S,DIR="${LOCALBASE}/,DIR=",}
Home |
Main Index |
Thread Index |
Old Index