2018-01-07 14:03:53 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.5 2018/01/07 13:04:32 rillig Exp $
|
2014-04-29 08:18:42 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
|
|
|
|
.if ${X11_TYPE} != "modular" && \
|
|
|
|
!exists(${X11BASE}/lib/pkgconfig/pciaccess.pc) && \
|
|
|
|
!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/pciaccess.pc)
|
|
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
|
|
.else
|
2008-10-30 21:58:11 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= libpciaccess
|
2008-10-30 21:58:11 +01:00
|
|
|
|
2018-01-07 14:03:53 +01:00
|
|
|
. if !defined(LIBPCIACCESS_BUILDLINK3_MK)
|
2009-03-20 20:23:50 +01:00
|
|
|
LIBPCIACCESS_BUILDLINK3_MK:=
|
2008-10-30 21:58:11 +01:00
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.libpciaccess+= libpciaccess>=0.10.4
|
|
|
|
BUILDLINK_PKGSRCDIR.libpciaccess?= ../../sysutils/libpciaccess
|
2012-07-20 13:24:02 +02:00
|
|
|
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2018-01-07 14:03:53 +01:00
|
|
|
. endif # LIBPCIACCESS_BUILDLINK3_MK
|
2008-10-30 21:58:11 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -libpciaccess
|
2014-04-29 08:18:42 +02:00
|
|
|
|
|
|
|
.endif
|