summaryrefslogtreecommitdiff
path: root/sysutils/libpciaccess/buildlink3.mk
blob: 53d663db02b568dc0d4eaddcb3848a3c4c2d6346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: buildlink3.mk,v 1.5 2018/01/07 13:04:32 rillig Exp $

.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

BUILDLINK_TREE+=	libpciaccess

.  if !defined(LIBPCIACCESS_BUILDLINK3_MK)
LIBPCIACCESS_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libpciaccess+=	libpciaccess>=0.10.4
BUILDLINK_PKGSRCDIR.libpciaccess?=	../../sysutils/libpciaccess

.include "../../devel/zlib/buildlink3.mk"
.  endif # LIBPCIACCESS_BUILDLINK3_MK

BUILDLINK_TREE+=	-libpciaccess

.endif