pkgsrc/x11/startup-notification/buildlink3.mk
obache 9e40e35c78 buildlink with xcb-util036 instead of xcb-util for the case requireing
x11/startup-notification010.

fixes PR 46738.
2012-07-25 12:22:23 +00:00

27 lines
1.1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.19 2012/07/25 12:22:23 obache Exp $
BUILDLINK_TREE+= startup-notification
.if !defined(STARTUP_NOTIFICATION_BUILDLINK3_MK)
STARTUP_NOTIFICATION_BUILDLINK3_MK:=
.include "../../mk/bsd.fast.prefs.mk"
.if ${X11_TYPE} == "modular" || ${OPSYS} != "NetBSD" || ${OPSYS} == "NetBSD" \
&& (!empty(OS_VERSION:M5.99.*) || !empty(OS_VERSION:M[6789].*))
BUILDLINK_PKGSRCDIR.startup-notification?= ../../x11/startup-notification
BUILDLINK_API_DEPENDS.startup-notification+= startup-notification>=0.5
BUILDLINK_ABI_DEPENDS.startup-notification+= startup-notification>=0.12nb2
.include "../../x11/xcb-util/buildlink3.mk"
.else
BUILDLINK_PKGSRCDIR.startup-notification?= ../../x11/startup-notification010
BUILDLINK_API_DEPENDS.startup-notification+= startup-notification>=0.5<0.12
BUILDLINK_ABI_DEPENDS.startup-notification+= startup-notification>=0.10nb2<0.12
.include "../../x11/xcb-util036/buildlink3.mk"
.endif
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.endif # STARTUP_NOTIFICATION_BUILDLINK3_MK
BUILDLINK_TREE+= -startup-notification