556fa4bc85
version 1.6.0 or later but 1.2.0 and later.
22 lines
742 B
Makefile
22 lines
742 B
Makefile
# $NetBSD: buildlink3.mk,v 1.2 2008/06/22 03:31:52 taca Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
RUBY_RCAIRO_BUILDLINK3_MK:= ${RUBY_RCAIRO_BUILDLINK3_MK}+
|
|
|
|
.if ${BUILDLINK_DEPTH} == "+"
|
|
BUILDLINK_DEPENDS+= ${RUBY_PKGPREFIX}-rcairo
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${RUBY_PKGPREFIX}-rcairo}
|
|
BUILDLINK_PACKAGES+= ${RUBY_PKGPREFIX}-rcairo
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}${RUBY_PKGPREFIX}-rcairo
|
|
|
|
.if ${RUBY_RCAIRO_BUILDLINK3_MK} == "+"
|
|
BUILDLINK_API_DEPENDS.ruby18-rcairo+= ${RUBY_PKGPREFIX}-rcairo>=1.6.0
|
|
BUILDLINK_PKGSRCDIR.ruby18-rcairo?= ../../graphics/ruby-rcairo
|
|
.endif # RUBY_RCAIRO_BUILDLINK3_MK
|
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|