diff options
author | jlam <jlam@pkgsrc.org> | 2004-03-10 18:35:32 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-03-10 18:35:32 +0000 |
commit | 964efcc46599f32ba1b70fbb6e51557262a1fe8b (patch) | |
tree | 6a5add7c0918e4c8370b063c74083e20ac8cb4cd /pkgtools | |
parent | 3de5fbe47b4a0b2e3b94b842a68927767d10fe11 (diff) | |
download | pkgsrc-964efcc46599f32ba1b70fbb6e51557262a1fe8b.tar.gz |
Catch up with removal of BUILDLINK_{IS,USE}_BUILTIN.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/x11-links/xfree.mk | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/pkgtools/x11-links/xfree.mk b/pkgtools/x11-links/xfree.mk index fd1396ffc10..4c5226aba6c 100644 --- a/pkgtools/x11-links/xfree.mk +++ b/pkgtools/x11-links/xfree.mk @@ -1,21 +1,7 @@ -# $NetBSD: xfree.mk,v 1.7 2004/02/17 16:50:26 jlam Exp $ +# $NetBSD: xfree.mk,v 1.8 2004/03/10 18:35:32 jlam Exp $ FILES_LIST= ${FILESDIR}/xfree -X11_MODULES= MesaLib glu -X11_MODULES+= freetype2 -X11_MODULES+= xpm -X11_MODULES+= Xft2 Xrender expat fontconfig render -X11_MODULES+= Xrandr randrext -X11_MODULES+= xcursor - -# Check if any headers and libraries for ${X11_MODULES} found in -# ${X11BASE} actually belong to the base XFree86 or not. -# -.for _module_ in ${X11_MODULES} -BUILDLINK_CHECK_BUILTIN.${_module_}= YES -.endfor - .include "../../fonts/Xft2/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" @@ -29,8 +15,15 @@ BUILDLINK_CHECK_BUILTIN.${_module_}= YES .include "../../x11/randrext/buildlink3.mk" .include "../../x11/xcursor/buildlink3.mk" -.for _module_ in ${X11_MODULES} -. if !empty(BUILDLINK_IS_BUILTIN.${_module_}:M[yY][eE][sS]) +# Check if any headers and libraries for ${X11_MODULES} found in +# ${X11BASE} actually belong to the base XFree86 or not. +# +.for _module_ in ${BUILDLINK_PACKAGES} +CHECK_BUILTIN.${_module_}= yes +. if exists(${BUILDLINK_PKGSRCDIR.${_module_}}/builtin.mk) +. include "${BUILDLINK_PKGSRCDIR.${_module_}}/builtin.mk" +. if !empty(IS_BUILTIN.${_module_}:M[yY][eE][sS]) FILES_LIST+= ${FILESDIR}/xfree.${_module_} +. endif . endif .endfor |