pkgsrc/x11/libXt/buildlink3.mk
reed 4b01cb391e Update the BUILDLINK_API_DEPENDS.libXt to at least the first
official modular Xorg release of libXt.

This is so the xt.pc pkg-config file will have "appdefaultdir"
defined.

(I am guessing I am the only person in the pkgsrc world with this problem
since I have systems with libXt from xlibs days.)
2007-02-28 03:19:09 +00:00

31 lines
793 B
Makefile

# $NetBSD: buildlink3.mk,v 1.3 2007/02/28 03:19:09 reed Exp $
.include "../../mk/bsd.fast.prefs.mk"
.if ${X11_TYPE} != "modular"
.include "../../mk/x11.buildlink3.mk"
.else
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXT_BUILDLINK3_MK:= ${LIBXT_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libXt
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXt}
BUILDLINK_PACKAGES+= libXt
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXt
.if ${LIBXT_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libXt+= libXt>=1.0.0
BUILDLINK_PKGSRCDIR.libXt?= ../../x11/libXt
.endif # LIBXT_BUILDLINK3_MK
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
.endif