blob: da8d29c650fd0ad206b6201876719415bc7595c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $
COMMENT = the X.Org X server
DISTNAME = xorg-server-1.20.5
CATEGORIES = x11
HOMEPAGE = https://gitlab.freedesktop.org/xorg/xserver
MAINTAINER = xenocara@openbsd.org
# MIT
PERMIT_PACKAGE = Yes
# uses pledge()
#WANTLIB = ???
MASTER_SITES = ${MASTER_SITE_XORG:=xserver/}
# Dependencies
#BUILD_DEPENDS = ???
#RUN_DEPENDS = ???
#LIB_DEPENDS = ???
#TEST_DEPENDS = ???
#MAKE_FLAGS = ???
#MAKE_ENV = ???
#FAKE_FLAGS = ???
#TEST_FLAGS = ???
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = autoconf
GLX_OPTION= --enable-glamor
KDRIVE_OPTION= --enable-kdrive
DRI_OPTION= --enable-dri --enable-dri2
XKB_PATH= ${X11BASE}/share/X11/xkb
XKB_RULES= base
CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
--with-xkb-path=${XKB_PATH} \
--with-xkb-output=/var/db/xkb \
--with-default-xkb-rules=${XKB_RULES} \
--with-module-dir=${LIBDIR}/modules ${GLX_OPTION} \
--disable-install-setuid --enable-privsep \
${KDRIVE_OPTION} \
--enable-xcsecurity --disable-xdm-auth-1 \
--without-fop --without-xmlto --without-xsltproc \
--disable-dmx ${NO_XORG_OPTION} \
--disable-unit-tests \
${DRI_OPTION}
# for gnu stuff
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.12
#NO_BUILD = Yes
NO_TEST = Yes
# For ports that use a script or autoreconf to generate autoconf/automake
# files (where "CONFIGURE_STYLE=autoconf" isn't enough), use some/all of these
# dependencies, and add a do-gen target:
#
#BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
# ${MODGNU_AUTOMAKE_DEPENDS} \
# devel/libtool
#
#do-gen:
# cd ${WRKSRC}; ${AUTOCONF_ENV} ./autogen.sh
.include <bsd.port.mk>
|