[BACK]Return to buildlink3.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / x11-links

File: [cvs.NetBSD.org] / pkgsrc / pkgtools / x11-links / buildlink3.mk (download)

Revision 1.71, Sun Jan 7 13:04:28 2018 UTC (6 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.70: +3 -3 lines

Fix indentation in buildlink3.mk files.

The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.

# $NetBSD: buildlink3.mk,v 1.71 2018/01/07 13:04:28 rillig 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>=1.06
BUILDLINK_PKGSRCDIR.x11-links?=		../../pkgtools/x11-links
BUILDLINK_DEPMETHOD.x11-links?=		build

# Force all of the helper programs, headers and libraries to be symlinked
# into ${BUILDLINK_X11_DIR}.
#
BUILDLINK_CONTENTS_FILTER.x11-links=					\
	${EGREP} '(bin/.*|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