Annotation of pkgsrc/pkgtools/x11-links/buildlink3.mk, Revision 1.35
1.35 ! wiz 1: # $NetBSD: buildlink3.mk,v 1.34 2010/09/14 19:40:15 tron Exp $
1.1 jlam 2: #
3: # Don't include this file manually! It will be included as necessary
4: # by bsd.buildlink3.mk.
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.35 ! wiz 15: BUILDLINK_API_DEPENDS.x11-links+= x11-links>=0.61
1.1 jlam 16: BUILDLINK_PKGSRCDIR.x11-links?= ../../pkgtools/x11-links
17: BUILDLINK_DEPMETHOD.x11-links?= build
18:
1.2 jlam 19: # Force all of the headers and libraries to be symlinked into
20: # ${BUILDLINK_X11_DIR}, even in the "pkgviews" case.
21: #
22: BUILDLINK_CONTENTS_FILTER.x11-links= \
23: ${EGREP} '(include.*/|\.h$$|\.pc$$|/lib[^/]*$$)'
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>