2014-03-10 12:05:51 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.6 2014/03/10 11:05:53 jperkin Exp $
|
2006-11-05 17:55:28 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
|
2014-03-10 12:05:51 +01:00
|
|
|
.if ${X11_TYPE} != "modular" && \
|
|
|
|
!exists(${X11BASE}/lib/pkgconfig/xt.pc) && \
|
|
|
|
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xt.pc)
|
2006-11-05 17:55:28 +01:00
|
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
|
|
.else
|
2006-11-03 21:50:11 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= libXt
|
2006-11-03 21:50:11 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(LIBXT_BUILDLINK3_MK)
|
|
|
|
LIBXT_BUILDLINK3_MK:=
|
2006-11-03 21:50:11 +01:00
|
|
|
|
2007-02-28 04:19:09 +01:00
|
|
|
BUILDLINK_API_DEPENDS.libXt+= libXt>=1.0.0
|
2006-11-03 21:50:11 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.libXt?= ../../x11/libXt
|
|
|
|
|
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/xproto/buildlink3.mk"
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # LIBXT_BUILDLINK3_MK
|
2006-11-03 21:50:11 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -libXt
|
2006-11-05 17:55:28 +01:00
|
|
|
|
|
|
|
.endif
|