pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby Move definition of DIST_SUBDIR for ruby193 t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aaaaf274a9a3
branches:  trunk
changeset: 599677:aaaaf274a9a3
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Feb 18 06:24:20 2012 +0000

description:
Move definition of DIST_SUBDIR for ruby193 to lang/ruby/Makefile.common.

diffstat:

 lang/ruby/Makefile.common |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 7ba79ccd82c8 -r aaaaf274a9a3 lang/ruby/Makefile.common
--- a/lang/ruby/Makefile.common Sat Feb 18 05:34:23 2012 +0000
+++ b/lang/ruby/Makefile.common Sat Feb 18 06:24:20 2012 +0000
@@ -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 @@
                        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:



Home | Main Index | Thread Index | Old Index