pkgsrc/x11/libICE/buildlink3.mk
jperkin 9d5b1e7ac2 Search for pkgconfig files in lib${LIBABISUFFIX} and share directories
as appropriate.  This is required for X11_TYPE=native on Red Hat Linux.
2014-03-10 11:05:51 +00:00

22 lines
535 B
Makefile

# $NetBSD: buildlink3.mk,v 1.6 2014/03/10 11:05:52 jperkin Exp $
.include "../../mk/bsd.fast.prefs.mk"
.if ${X11_TYPE} != "modular" && \
!exists(${X11BASE}/lib/pkgconfig/ice.pc) && \
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/ice.pc)
.include "../../mk/x11.buildlink3.mk"
.else
BUILDLINK_TREE+= libICE
.if !defined(LIBICE_BUILDLINK3_MK)
LIBICE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libICE+= libICE>=0.99.1
BUILDLINK_PKGSRCDIR.libICE?= ../../x11/libICE
.endif # LIBICE_BUILDLINK3_MK
BUILDLINK_TREE+= -libICE
.endif