diff options
author | reed <reed@pkgsrc.org> | 2005-07-25 20:50:25 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-07-25 20:50:25 +0000 |
commit | 02ee613ef9159e68aa105d11995f80869bcc3758 (patch) | |
tree | c0a3e6978bcba519a619b28ff1d3ab98743424a1 /pkgtools/x11-links/xorg.mk | |
parent | e88075efa6d4211e9974ba5991a21f11bc69f86c (diff) | |
download | pkgsrc-02ee613ef9159e68aa105d11995f80869bcc3758.tar.gz |
Added xorg support, based on if ${X11BASE}/lib/X11/config/xorgversion.def
exists. Added new files for the xorg related files.
Version is now x11-links-0.26.
Diffstat (limited to 'pkgtools/x11-links/xorg.mk')
-rw-r--r-- | pkgtools/x11-links/xorg.mk | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgtools/x11-links/xorg.mk b/pkgtools/x11-links/xorg.mk new file mode 100644 index 00000000000..5bb4dd2908c --- /dev/null +++ b/pkgtools/x11-links/xorg.mk @@ -0,0 +1,50 @@ +# $NetBSD: xorg.mk,v 1.1 2005/07/25 20:50:25 reed Exp $ +# +# This is for X.org, but use "xfree" files also. + +FILES_LIST= ${FILESDIR}/xorg + +# libXdamage and damageext only in pkgsrc-wip so not used here +# XXX: what about xaw? + +.include "../../fonts/Xft2/buildlink3.mk" +.include "../../fonts/fontconfig/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/glu/buildlink3.mk" +.include "../../graphics/xpm/buildlink3.mk" +.include "../../textproc/expat/buildlink3.mk" +.include "../../x11/compositeext/buildlink3.mk" +.include "../../x11/fixesext/buildlink3.mk" +.include "../../x11/xextensions/buildlink3.mk" +.include "../../x11/Xcomposite/buildlink3.mk" +.include "../../x11/Xfixes/buildlink3.mk" +.include "../../x11/Xrandr/buildlink3.mk" +.include "../../x11/Xrender/buildlink3.mk" +.include "../../x11/render/buildlink3.mk" +.include "../../x11/randrext/buildlink3.mk" +.include "../../x11/xcursor/buildlink3.mk" + +# XXX what is ${X11_MODULES} ? + +# Check if any headers and libraries for ${X11_MODULES} found in +# ${X11BASE} actually belong to the base Xorg or not. +# +# XXX: maybe skip iconv and zlib too? +.for _pkg_ in ${BUILDLINK_PACKAGES:Nx11-links} +CHECK_BUILTIN.${_pkg_}:= yes +USE_BUILTIN.${_pkg_}= yes +. sinclude "${BUILDLINK_PKGSRCDIR.${_pkg_}}/builtin.mk" +CHECK_BUILTIN.${_pkg_}:= no +.endfor + +.for _pkg_ in ${BUILDLINK_PACKAGES:Nx11-links} +IGNORE_PKG.${_pkg_}= yes +. if !empty(IS_BUILTIN.${_pkg_}:M[yY][eE][sS]) +. if exists(${FILESDIR}/xorg.${_pkg_}) +FILES_LIST+= ${FILESDIR}/xorg.${_pkg_} +. elif exists(${FILESDIR}/xfree.${_pkg_}) +FILES_LIST+= ${FILESDIR}/xfree.${_pkg_} +. endif +. endif +.endfor |