summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-02-18 06:24:20 +0000
committertaca <taca@pkgsrc.org>2012-02-18 06:24:20 +0000
commitb74656fad0480cedc64fd124443c82389b1c38ae (patch)
tree11d4ab2874b9ddc2047a5ba4bf0a5f5760db6ebe /lang
parent0ca2255197c8b3bf38f1798f1929d9734d92d4da (diff)
downloadpkgsrc-b74656fad0480cedc64fd124443c82389b1c38ae.tar.gz
Move definition of DIST_SUBDIR for ruby193 to lang/ruby/Makefile.common.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby/Makefile.common8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/ruby/Makefile.common b/lang/ruby/Makefile.common
index 48e2d41c5fd..46de3a77a45 100644
--- a/lang/ruby/Makefile.common
+++ b/lang/ruby/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.24 2012/02/04 09:43:32 taca Exp $
+# $NetBSD: Makefile.common,v 1.25 2012/02/18 06:24:21 taca Exp $
#
# Ruby base distribution common definition
# used by databases/ruby-gdbm/Makefile
@@ -16,7 +16,7 @@
# used by x11/ruby-tk/Makefile
# Ruby's license
-.if ${RUBY_VER} == "18" || ${RUBY_VER} == "19"
+.if ${RUBY_VER} == "18" || ${RUBY_VER} == "19"
LICENSE= gnu-gpl-v2 OR ruby-license
.else
LICENSE= 2-clause-bsd OR ruby-license
@@ -61,6 +61,10 @@ PLIST_SUBST+= RUBY_SHLIBVER=${RUBY_SHLIBVER:Q} \
RUBY_NAME=${RUBY_NAME:Q}
.if !empty(RUBY_EXTNAME)
+.if ${RUBY_VER} == "193"
+DIST_SUBDIR= ruby193-base-201202170
+.endif
+
DISTINFO_FILE= ${.CURDIR}/../../lang/${RUBY_BASE}/distinfo
PATCHDIR= ${.CURDIR}/../../lang/${RUBY_BASE}/patches
do-patch: