d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
26 lines
897 B
Makefile
26 lines
897 B
Makefile
# $NetBSD: buildlink3.mk,v 1.13 2006/12/27 13:37:36 joerg Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
LIBMATCHBOX_BUILDLINK3_MK:= ${LIBMATCHBOX_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= libmatchbox
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmatchbox}
|
|
BUILDLINK_PACKAGES+= libmatchbox
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmatchbox
|
|
|
|
.if !empty(LIBMATCHBOX_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.libmatchbox+= libmatchbox>=1.4
|
|
BUILDLINK_ABI_DEPENDS.libmatchbox+= libmatchbox>=1.7nb3
|
|
BUILDLINK_PKGSRCDIR.libmatchbox?= ../../devel/libmatchbox
|
|
.endif # LIBMATCHBOX_BUILDLINK3_MK
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|