2018-01-07 14:03:53 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.6 2018/01/07 13:04:38 rillig 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/sm.pc) && \
|
|
|
|
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/sm.pc)
|
2006-11-05 17:55:28 +01:00
|
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
|
|
.else
|
2006-11-03 18:33:21 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= libSM
|
2006-11-03 18:33:21 +01:00
|
|
|
|
2018-01-07 14:03:53 +01:00
|
|
|
. if !defined(LIBSM_BUILDLINK3_MK)
|
2009-03-20 20:23:50 +01:00
|
|
|
LIBSM_BUILDLINK3_MK:=
|
2006-11-03 18:33:21 +01:00
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.libSM+= libSM>=0.99.2
|
|
|
|
BUILDLINK_PKGSRCDIR.libSM?= ../../x11/libSM
|
|
|
|
|
|
|
|
.include "../../x11/libICE/buildlink3.mk"
|
2018-01-07 14:03:53 +01:00
|
|
|
. endif # LIBSM_BUILDLINK3_MK
|
2006-11-03 18:33:21 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -libSM
|
2006-11-05 17:55:28 +01:00
|
|
|
|
|
|
|
.endif
|