summaryrefslogtreecommitdiff
path: root/x11/XFree86-libs/buildlink3.mk
blob: e92446ec35cb3065cecac2bdf4e1936987ffd154 (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
25
26
27
28
29
30
31
32
# $NetBSD: buildlink3.mk,v 1.4 2004/09/16 19:33:09 minskim Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
XFREE86_LIBS_BUILDLINK3_MK:=	${XFREE86_LIBS_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	XFree86-libs
.endif

#
# XFree86-libs must come first so that packages listed later can overwrite
# any symlinks created by buildlinking XFree86-libs.
#
BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:NXFree86-libs}
BUILDLINK_PACKAGES:=	XFree86-libs ${BUILDLINK_PACKAGES}

.include "../../mk/bsd.prefs.mk"

.if !empty(XFREE86_LIBS_BUILDLINK3_MK:M+)

BUILDLINK_DEPENDS.XFree86-libs+=	XFree86-libs>=4.4.0
BUILDLINK_RECOMMENDED.XFree86-libs+=	XFree86-libs>=4.4.0nb2
BUILDLINK_PKGSRCDIR.XFree86-libs?=	../../x11/XFree86-libs
BUILDLINK_TRANSFORM.XFree86-libs+=	-e "s|/${X11ROOT_PREFIX}/|/|"

.endif  # XFREE86_LIBS_BUILDLINK3_MK

.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"

BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}