pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby Use DEPENDS, instead of including buildlink3...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9418516a09d8
branches: trunk
changeset: 491958:9418516a09d8
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Apr 02 05:10:10 2005 +0000
description:
Use DEPENDS, instead of including buildlink3.mk, to pull in
dependency when NO_BUILD is set.
Approved by taca@.
diffstat:
lang/ruby/modules.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r e5dfd34760bf -r 9418516a09d8 lang/ruby/modules.mk
--- a/lang/ruby/modules.mk Fri Apr 01 22:37:44 2005 +0000
+++ b/lang/ruby/modules.mk Sat Apr 02 05:10:10 2005 +0000
@@ -1,10 +1,15 @@
-# $NetBSD: modules.mk,v 1.6 2005/03/24 19:20:43 tv Exp $
+# $NetBSD: modules.mk,v 1.7 2005/04/02 05:10:10 minskim Exp $
.if !defined(_RUBY_MODULE_MK)
_RUBY_MODULE_MK= # defined
.include "../../lang/ruby/rubyversion.mk"
+
+.if defined(NO_BUILD) && empty(NO_BUILD:M[Nn][Oo])
+DEPENDS+= ruby${RUBY_VER}-base>=${RUBY_REQD}:../../lang/ruby${RUBY_VER}-base
+.else
.include "../../lang/ruby/buildlink3.mk"
+.endif
CONFIGURE_ENV+= RUBY=${RUBY} RDOC=${RDOC}
Home |
Main Index |
Thread Index |
Old Index