pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby Don't always set DIST_SUBDIR but only if RUB...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4204bffb32fa
branches:  trunk
changeset: 485565:4204bffb32fa
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Dec 16 07:11:55 2004 +0000

description:
Don't always set DIST_SUBDIR but only if RUBY_DIST_SUBDIR isn't empty.
This change dosen't affect any current ruby based packages.

diffstat:

 lang/ruby/modules.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d557c51e49d1 -r 4204bffb32fa lang/ruby/modules.mk
--- a/lang/ruby/modules.mk      Thu Dec 16 07:10:16 2004 +0000
+++ b/lang/ruby/modules.mk      Thu Dec 16 07:11:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: modules.mk,v 1.2 2004/12/03 15:15:01 wiz Exp $
+# $NetBSD: modules.mk,v 1.3 2004/12/16 07:11:55 taca Exp $
 
 .if !defined(_RUBY_MODULE_MK)
 _RUBY_MODULE_MK=       # defined
@@ -15,7 +15,9 @@
 #
 # make ruby module package to common DIST_SUBDIR
 #
+.if defined(RUBY_DIST_SUBDIR) && !empty(RUBY_DIST_SUBDIR)
 DIST_SUBDIR?=  ${RUBY_DIST_SUBDIR}
+.endif
 
 # 
 # extconf.rb support



Home | Main Index | Thread Index | Old Index