Annotation of pkgsrc/pkgtools/x11-links/buildlink3.mk, Revision 1.78
1.78 ! leot 1: # $NetBSD: buildlink3.mk,v 1.77 2019/01/09 11:29:02 jaapb Exp $
1.1 jlam 2: #
3: # Don't include this file manually! It will be included as necessary
4: # by bsd.buildlink3.mk.
1.67 rillig 5: #
1.21 joerg 6: # x11-links is sorted first in mk/buildlink3/bsd.buildlink3.mk,
7: # so that symlinks created from it can be overriden by other packages.
8: #
1.1 jlam 9:
1.21 joerg 10: BUILDLINK_TREE+= x11-links
1.1 jlam 11:
1.21 joerg 12: .if !defined(X11_LINKS_BUILDLINK3_MK)
13: X11_LINKS_BUILDLINK3_MK:=
1.1 jlam 14:
1.78 ! leot 15: BUILDLINK_API_DEPENDS.x11-links+= x11-links>=1.16
1.71 rillig 16: BUILDLINK_PKGSRCDIR.x11-links?= ../../pkgtools/x11-links
17: BUILDLINK_DEPMETHOD.x11-links?= build
1.1 jlam 18:
1.41 joerg 19: # Force all of the helper programs, headers and libraries to be symlinked
1.59 wiz 20: # into ${BUILDLINK_X11_DIR}.
1.2 jlam 21: #
22: BUILDLINK_CONTENTS_FILTER.x11-links= \
1.41 joerg 23: ${EGREP} '(bin/.*|include.*/|\.h$$|\.pc$$|/lib[^/]*$$)'
1.2 jlam 24:
1.1 jlam 25: # Rename the symlinks so that they appear in ${BUILDLINK_X11_DIR}/include
26: # and ${BUILDLINK_X11_DIR}/lib.
27: #
1.8 rillig 28: BUILDLINK_FNAME_TRANSFORM.x11-links+= -e "s|/share/x11-links/|/|"
1.21 joerg 29: .endif # X11_LINKS_BUILDLINK3_MK
1.1 jlam 30:
1.21 joerg 31: BUILDLINK_TREE+= -x11-links
CVSweb <webmaster@jp.NetBSD.org>