diff --git a/x11/xorg-server-devel/Portfile b/x11/xorg-server-devel/Portfile
index f205d1c713a7aef6f33691b666449021eea71afe..15f1d918f63f033f3c65be41d1f758955d53adf1 100644
a
|
b
|
PortGroup compiler_blacklist_versions 1.0 |
4 | 4 | name xorg-server-devel |
5 | 5 | conflicts xorg-server |
6 | 6 | set my_name xorg-server |
7 | | version 1.19.99.1 |
| 7 | # version 1.19.99.1 |
8 | 8 | categories x11 devel |
9 | 9 | license X11 |
10 | 10 | maintainers {jeremyhu @jeremyhu} openmaintainer |
… |
… |
long_description The X.org X server allows you to run X11 applications on your c |
15 | 15 | |
16 | 16 | fetch.type git |
17 | 17 | git.url git://anongit.freedesktop.org/xorg/xserver |
18 | | git.branch d16133e3e293fe16b291114d344fbd5a61d5ed65 |
19 | | #git.branch xorg-server-${version} |
| 18 | # git.branch d16133e3e293fe16b291114d344fbd5a61d5ed65 |
| 19 | # the last commit that still builds against randrproto 1.5 |
| 20 | # (randrproto 1.6 hasn't been released yet?!) |
| 21 | # xorg-server-1.19.0-636-gfabbaa8d6 |
| 22 | git.branch fabbaa8d6260da14fe5b7ca0f3f8748af16253a2 |
| 23 | |
| 24 | version 1.19.0.636 |
| 25 | # for git-describe based versioning: |
| 26 | epoch 1 |
| 27 | |
| 28 | worksrcdir xorg-server-git |
| 29 | distname xorg-server-git |
20 | 30 | |
21 | 31 | use_parallel_build yes |
22 | 32 | |
… |
… |
configure.args --with-apple-applications-dir=${applications_dir} \ |
83 | 93 | --disable-dri2 \ |
84 | 94 | --disable-dri3 |
85 | 95 | |
| 96 | variant dri2 description {enable DRI2 support} { |
| 97 | configure.args-replace \ |
| 98 | --disable-dri2 \ |
| 99 | --enable-dri2 |
| 100 | depends_build-append \ |
| 101 | port:xorg-dri2proto |
| 102 | } |
| 103 | |
| 104 | variant dri3 description {enable DRI3 support} { |
| 105 | configure.args-replace \ |
| 106 | --disable-dri3 \ |
| 107 | --enable-dri3 |
| 108 | depends_build-append \ |
| 109 | port:xorg-dri3proto |
| 110 | } |
| 111 | |
86 | 112 | # GL/internal/dri_interface.h is missing in prefix (provided by libdrm for the xorg DDX... not helpful for us) |
87 | 113 | configure.cppflags-append -I/usr/include -I${filespath}/dri -F${configure.sdkroot}/System/Library/Frameworks/ApplicationServices.framework/Frameworks |
88 | 114 | |
… |
… |
configure.env-append \ |
92 | 118 | patchfiles \ |
93 | 119 | 0001-os-connection-Improve-abstraction-for-launchd-secure.patch \ |
94 | 120 | 0002-randr-Initialize-RandR-even-if-there-are-currently-n.patch \ |
95 | | 0003-glx-Initialize-glx-even-if-there-are-currently-no-sc.patch \ |
96 | 121 | 5000-sdksyms.sh-Use-CPPFLAGS-not-CFLAGS.patch \ |
97 | 122 | 5001-Revert-dix-Restore-PaintWindow-screen-hook.patch \ |
98 | 123 | 5002-Workaround-the-GC-clipping-problem-in-miPaintWindow-.patch \ |
99 | 124 | 5003-Use-old-miTrapezoids-and-miTriangles-routines.patch \ |
100 | 125 | 5004-fb-Revert-fb-changes-that-broke-XQuartz.patch \ |
101 | | 5005-fb-Revert-fb-changes-that-broke-XQuartz.patch |
| 126 | 5005-fb-Revert-fb-changes-that-broke-XQuartz.patch \ |
| 127 | patch-revert-free-fbconfigs-on-destroy.diff |
102 | 128 | |
103 | 129 | patch.pre_args -p1 |
104 | 130 | |
105 | | use_autoreconf yes |
| 131 | pre-configure { |
| 132 | use_autoreconf [expr ![file exists ${worksrcpath}/config.log]] |
| 133 | } |
106 | 134 | autoreconf.args -fvi |
107 | 135 | |
108 | 136 | build.args V=1 |