diff options
Diffstat (limited to 'lang/ruby/buildlink3.mk')
-rw-r--r-- | lang/ruby/buildlink3.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/ruby/buildlink3.mk b/lang/ruby/buildlink3.mk index c9426dc097f..180d1d79fd3 100644 --- a/lang/ruby/buildlink3.mk +++ b/lang/ruby/buildlink3.mk @@ -1,14 +1,14 @@ -# $NetBSD: buildlink3.mk,v 1.10 2009/03/20 19:24:52 joerg Exp $ - -.if !defined(_RUBYVERSION_MK) -.include "../../lang/ruby/rubyversion.mk" -.endif +# $NetBSD: buildlink3.mk,v 1.11 2009/05/16 07:22:04 rillig Exp $ BUILDLINK_TREE+= ${RUBY_BASE} .if !defined(RUBY_BUILDLINK3_MK) RUBY_BUILDLINK3_MK:= +.if !defined(_RUBYVERSION_MK) +.include "../../lang/ruby/rubyversion.mk" +.endif + BUILDLINK_API_DEPENDS.${RUBY_BASE}?= ${RUBY_BASE}>=${RUBY_REQD} BUILDLINK_ABI_DEPENDS.${RUBY_BASE}?= ${RUBY_BASE}>=${RUBY_VERSION} BUILDLINK_PKGSRCDIR.${RUBY_BASE}?= ../../lang/${RUBY_BASE} @@ -18,7 +18,7 @@ BUILDLINK_FILES.${RUBY_BASE}+= lib/ruby/${RUBY_VER_DIR}/${RUBY_ARCH}/*.h BUILDLINK_TARGETS+= buildlink-bin-ruby buildlink-bin-ruby: - ${_PKG_SILENT}${_PKG_DEBUG} \ + ${RUN} \ f=${BUILDLINK_PREFIX.${RUBY_BASE}:Q}"/bin/ruby${RUBY_VER}"; \ if ${TEST} -f $$f; then \ ${LN} -s $$f ${BUILDLINK_DIR}/bin/ruby; \ |