summaryrefslogtreecommitdiff
path: root/x11/XFree86-libs/buildlink3.mk
blob: 7a70a5dccea1668e38733d1f3e9ec63e2f75dad0 (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
# $NetBSD: buildlink3.mk,v 1.2 2004/03/28 23:36:27 xtraeme 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}

.if !empty(XFREE86_LIBS_BUILDLINK3_MK:M+)

BUILDLINK_DEPENDS.XFree86-libs+=	XFree86-libs>=4.4.0
BUILDLINK_PKGSRCDIR.XFree86-libs?=	../../x11/XFree86-libs
BUILDLINK_TRANSFORM.XFree86-libs+=	-e "s|/X11R6/|/|"

.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/+$//}