diff options
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/buildlink3.mk | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/lang/ruby/buildlink3.mk b/lang/ruby/buildlink3.mk index 1a11fd04caf..c9426dc097f 100644 --- a/lang/ruby/buildlink3.mk +++ b/lang/ruby/buildlink3.mk @@ -1,21 +1,13 @@ -# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:56 jlam Exp $ - -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -RUBY_BUILDLINK3_MK:= ${RUBY_BUILDLINK3_MK}+ +# $NetBSD: buildlink3.mk,v 1.10 2009/03/20 19:24:52 joerg Exp $ .if !defined(_RUBYVERSION_MK) .include "../../lang/ruby/rubyversion.mk" .endif -.if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= ${RUBY_BASE} -.endif - -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${RUBY_BASE}} -BUILDLINK_PACKAGES+= ${RUBY_BASE} -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}${RUBY_BASE} +BUILDLINK_TREE+= ${RUBY_BASE} -.if !empty(RUBY_BUILDLINK3_MK:M+) +.if !defined(RUBY_BUILDLINK3_MK) +RUBY_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.${RUBY_BASE}?= ${RUBY_BASE}>=${RUBY_REQD} BUILDLINK_ABI_DEPENDS.${RUBY_BASE}?= ${RUBY_BASE}>=${RUBY_VERSION} @@ -31,7 +23,6 @@ buildlink-bin-ruby: if ${TEST} -f $$f; then \ ${LN} -s $$f ${BUILDLINK_DIR}/bin/ruby; \ fi +.endif # RUBY_BUILDLINK3_MK -.endif # RUBY_BUILDLINK3_MK - -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -${RUBY_BASE} |