blob: 4ea82d4b1c8379f0d757ba97777615af006b22d8 (
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
|
# $NetBSD: buildlink3.mk,v 1.24 2010/02/10 23:02:26 wiz Exp $
#
# Don't include this file manually! It will be included as necessary
# by bsd.buildlink3.mk.
# x11-links is sorted first in mk/buildlink3/bsd.buildlink3.mk,
# so that symlinks created from it can be overriden by other packages.
#
BUILDLINK_TREE+= x11-links
.if !defined(X11_LINKS_BUILDLINK3_MK)
X11_LINKS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.x11-links+= x11-links>=0.46.${OS_VERSION}
BUILDLINK_PKGSRCDIR.x11-links?= ../../pkgtools/x11-links
BUILDLINK_DEPMETHOD.x11-links?= build
# Force all of the headers and libraries to be symlinked into
# ${BUILDLINK_X11_DIR}, even in the "pkgviews" case.
#
BUILDLINK_CONTENTS_FILTER.x11-links= \
${EGREP} '(include.*/|\.h$$|\.pc$$|/lib[^/]*$$)'
# Rename the symlinks so that they appear in ${BUILDLINK_X11_DIR}/include
# and ${BUILDLINK_X11_DIR}/lib.
#
BUILDLINK_FNAME_TRANSFORM.x11-links+= -e "s|/share/x11-links/|/|"
.endif # X11_LINKS_BUILDLINK3_MK
BUILDLINK_TREE+= -x11-links
|