1 # $NetBSD: x11.version.mk,v 1.10 2007/10/01 07:21:44 rillig Exp $
3 # This file must not be included directly.
4 # It is included automatically by mk/x11.buildlink3.mk.
6 # User-settable variables:
9 # The X11 distribution that is used for building X11 packages.
12 # * native: use the native X11 distribution
13 # * modular: use modular Xorg from pkgsrc
15 # Default: native, unless defined for a specific operating system
16 # in mk/platform/${OPSYS}.mk.
18 # Variables provided by this file:
20 # X11_PKGSRCDIR.${X11_TYPE}
21 # The directory where the buildlink3.mk or builtin.mk files can
22 # be found for the X11 distribution.
24 # BUILTIN_X11_TYPE.${X11_TYPE}
25 # The X11_TYPE of the native X11 distribution detected on the
28 # Variables that _may_ be defined by this file. These variables
29 # should be checked to exist before they are used:
31 # BUILTIN_X11_VERSION.${X11_TYPE}
32 # The version number of the native X11 distribution detected on
37 _USER_VARS.x11
= X11_TYPE X11BASE
38 _PKG_VARS.x11
= USE_X11BASE
39 _SYS_VARS.x11
= X11_PKGSRCDIR.
${X11_TYPE} BUILTIN_X11_TYPE.
${X11_TYPE} BUILTIN_X11_VERSION.
${X11_TYPE}
41 X11_PKGSRCDIR.native
= ..
/..
/pkgtools
/x11-links
43 .
include "${X11_PKGSRCDIR.${X11_TYPE}}/version.mk"