7f125459d8
pkg-build-options.mk procedure.
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: buildlink3.mk,v 1.21 2007/05/30 08:54:29 rillig Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
PANGO_BUILDLINK3_MK:= ${PANGO_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= pango
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npango}
|
|
BUILDLINK_PACKAGES+= pango
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pango
|
|
|
|
.if !empty(PANGO_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.pango+= pango>=1.6.0
|
|
BUILDLINK_ABI_DEPENDS.pango+= pango>=1.12.1nb1
|
|
BUILDLINK_PKGSRCDIR.pango?= ../../devel/pango
|
|
.endif # PANGO_BUILDLINK3_MK
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
pkgbase := pango
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.pango:Mx11)
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|