add some missing @foo@ cases for libepoxy, libxshmfence and xorg-server.diff -r1.1 -r1.2 src/external/mit/xorg/lib/libepoxy/Makefile
(mrg)
--- src/external/mit/xorg/lib/libepoxy/Makefile 2016/08/18 07:44:32 1.1
+++ src/external/mit/xorg/lib/libepoxy/Makefile 2017/03/05 11:52:38 1.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2016/08/18 07:44:32 mrg Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2017/03/05 11:52:38 mrg Exp $ | |
2 | 2 | |||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> | |
4 | 4 | |||
5 | LIB= epoxy | 5 | LIB= epoxy | |
6 | .PATH: ${X11SRCDIR.${LIB}}/src | 6 | .PATH: ${X11SRCDIR.${LIB}}/src | |
7 | .PATH: ${X11SRCDIR.${LIB}}/include/epoxy | 7 | .PATH: ${X11SRCDIR.${LIB}}/include/epoxy | |
8 | .PATH: ${X11SRCDIR.${LIB}}/../src | 8 | .PATH: ${X11SRCDIR.${LIB}}/../src | |
9 | 9 | |||
10 | SRCS= \ | 10 | SRCS= \ | |
11 | dispatch_common.c \ | 11 | dispatch_common.c \ | |
12 | dispatch_glx.c \ | 12 | dispatch_glx.c \ | |
13 | gl_generated_dispatch.c \ | 13 | gl_generated_dispatch.c \ | |
14 | glx_generated_dispatch.c | 14 | glx_generated_dispatch.c | |
@@ -16,16 +16,18 @@ SRCS.EGL= \ | @@ -16,16 +16,18 @@ SRCS.EGL= \ | |||
16 | dispatch_egl.c \ | 16 | dispatch_egl.c \ | |
17 | egl_generated_dispatch.c | 17 | egl_generated_dispatch.c | |
18 | 18 | |||
19 | INCSDIR=${X11INCDIR}/epoxy | 19 | INCSDIR=${X11INCDIR}/epoxy | |
20 | INCS= \ | 20 | INCS= \ | |
21 | gl.h gl_generated.h \ | 21 | gl.h gl_generated.h \ | |
22 | glx.h glx_generated.h \ | 22 | glx.h glx_generated.h \ | |
23 | egl.h egl_generated.h | 23 | egl.h egl_generated.h | |
24 | 24 | |||
25 | CPPFLAGS+= -I${X11SRCDIR.${LIB}}/src | 25 | CPPFLAGS+= -I${X11SRCDIR.${LIB}}/src | |
26 | CPPFLAGS+= ${X11FLAGS.CONNECTION} | 26 | CPPFLAGS+= ${X11FLAGS.CONNECTION} | |
27 | 27 | |||
28 | PKGCONFIG= epoxy | 28 | PKGCONFIG= epoxy | |
29 | PKGCONFIG_SED_FLAGS= \ | |||
30 | -e "s,@DLOPEN_LIBS@,," | |||
29 | 31 | |||
30 | .include <bsd.x11.mk> | 32 | .include <bsd.x11.mk> | |
31 | .include <bsd.lib.mk> | 33 | .include <bsd.lib.mk> |
--- src/external/mit/xorg/lib/libxshmfence/Makefile 2016/09/27 19:18:42 1.5
+++ src/external/mit/xorg/lib/libxshmfence/Makefile 2017/03/05 11:52:39 1.6
@@ -1,33 +1,38 @@ | @@ -1,33 +1,38 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2016/09/27 19:18:42 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2017/03/05 11:52:39 mrg Exp $ | |
2 | 2 | |||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> | |
4 | 4 | |||
5 | LIB= xshmfence | 5 | LIB= xshmfence | |
6 | 6 | |||
7 | XSHMFENCEDIR= ${X11SRCDIR.${LIB}} | 7 | XSHMFENCEDIR= ${X11SRCDIR.${LIB}} | |
8 | .PATH: ${XSHMFENCEDIR}/src | 8 | .PATH: ${XSHMFENCEDIR}/src | |
9 | SRCS= xshmfence_alloc.c xshmfence_semaphore.c | 9 | SRCS= xshmfence_alloc.c xshmfence_semaphore.c | |
10 | 10 | |||
11 | INCS= xshmfence.h | 11 | INCS= xshmfence.h | |
12 | INCSDIR=${X11INCDIR}/X11 | 12 | INCSDIR=${X11INCDIR}/X11 | |
13 | 13 | |||
14 | CPPFLAGS+= -DSHMDIR=\"/var/shm\" | 14 | CPPFLAGS+= -DSHMDIR=\"/var/shm\" | |
15 | CPPFLAGS+= -DHAVE_SEMAPHORE | 15 | CPPFLAGS+= -DHAVE_SEMAPHORE | |
16 | # XXX | 16 | # XXX | |
17 | CPPFLAGS+= -DLIBXSHM_PAGESIZE=4096 | 17 | CPPFLAGS+= -DLIBXSHM_PAGESIZE=4096 | |
18 | 18 | |||
19 | LDADD+= -lrt | 19 | LDADD+= -lrt | |
20 | DPADD+= ${LIBRT} | 20 | DPADD+= ${LIBRT} | |
21 | 21 | |||
22 | NOMAN= # defined | 22 | NOMAN= # defined | |
23 | 23 | |||
24 | PKGDIST= ${LIB} | 24 | PKGDIST= ${LIB} | |
25 | # XXX PTHREAD_LIBS really should be -pthread for more general | |||
26 | # XXX but the package doesn't really do this. | |||
27 | PKGCONFIG_SED_FLAGS= \ | |||
28 | -e "s,@XPROTO_CFLAGS@,-I${X11INCDIR},; \ | |||
29 | s,@PTHREAD_LIBS@,-lpthread," | |||
25 | 30 | |||
26 | COPTS.xshmfence_semaphore.c += -Wno-stack-protector | 31 | COPTS.xshmfence_semaphore.c += -Wno-stack-protector | |
27 | 32 | |||
28 | .if ${MACHINE_ARCH} == "sparc" || ${COMMON_MACHINE_ARCH:U} == "sparc" | 33 | .if ${MACHINE_ARCH} == "sparc" || ${COMMON_MACHINE_ARCH:U} == "sparc" | |
29 | COPTS.xshmfence_semaphore.c+= ${${ACTIVE_CC} == "clang":? -Wa,-Av8plus :} | 34 | COPTS.xshmfence_semaphore.c+= ${${ACTIVE_CC} == "clang":? -Wa,-Av8plus :} | |
30 | .endif | 35 | .endif | |
31 | 36 | |||
32 | .include <bsd.x11.mk> | 37 | .include <bsd.x11.mk> | |
33 | .include <bsd.lib.mk> | 38 | .include <bsd.lib.mk> |
--- src/external/mit/xorg/server/xorg-server/Makefile 2016/08/21 20:51:04 1.27
+++ src/external/mit/xorg/server/xorg-server/Makefile 2017/03/05 11:52:39 1.28
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.27 2016/08/21 20:51:04 mrg Exp $ | 1 | # $NetBSD: Makefile,v 1.28 2017/03/05 11:52:39 mrg Exp $ | |
2 | 2 | |||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> | |
4 | 4 | |||
5 | .include "Makefile.common" | 5 | .include "Makefile.common" | |
6 | 6 | |||
7 | SUBDIR= doc include .WAIT | 7 | SUBDIR= doc include .WAIT | |
8 | SUBDIR+= glx | 8 | SUBDIR+= glx | |
9 | SUBDIR+= dix fb mi Xext miext os randr render | 9 | SUBDIR+= dix fb mi Xext miext os randr render | |
10 | SUBDIR+= present pseudoramiX | 10 | SUBDIR+= present pseudoramiX | |
11 | SUBDIR+= Xi xkb xkbstubs dbe record xfixes | 11 | SUBDIR+= Xi xkb xkbstubs dbe record xfixes | |
12 | SUBDIR+= damageext composite config .WAIT | 12 | SUBDIR+= damageext composite config .WAIT | |
13 | 13 | |||
14 | # XXX | 14 | # XXX | |
@@ -19,19 +19,20 @@ SUBDIR+= dri3 | @@ -19,19 +19,20 @@ SUBDIR+= dri3 | |||
19 | .if ${HAVE_XORG_GLAMOR} != "no" | 19 | .if ${HAVE_XORG_GLAMOR} != "no" | |
20 | SUBDIR+= glamor | 20 | SUBDIR+= glamor | |
21 | .endif | 21 | .endif | |
22 | 22 | |||
23 | # And finally, build the servers. | 23 | # And finally, build the servers. | |
24 | SUBDIR+= .WAIT hw | 24 | SUBDIR+= .WAIT hw | |
25 | 25 | |||
26 | .PATH: ${X11SRCDIR.xorg-server} | 26 | .PATH: ${X11SRCDIR.xorg-server} | |
27 | 27 | |||
28 | PKGCONFIG= xorg-server | 28 | PKGCONFIG= xorg-server | |
29 | # Use -fvisibility=hidden for symbol_visibility? | 29 | # Use -fvisibility=hidden for symbol_visibility? | |
30 | PKGCONFIG_SED_FLAGS= \ | 30 | PKGCONFIG_SED_FLAGS= \ | |
31 | -e "s,@sysconfigdir@,${X11ETCDIR},; \ | 31 | -e "s,@sysconfigdir@,${X11ETCDIR},; \ | |
32 | s,@XORG_DRIVER_LIBS@,,; \ | |||
32 | s,@SDK_REQUIRED_MODULES@,xproto >= 7.0.28 randrproto >= 1.5.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 bigreqsproto >= 1.1.0 xtrans >= 1.3.5 presentproto >= 1.0,; \ | 33 | s,@SDK_REQUIRED_MODULES@,xproto >= 7.0.28 randrproto >= 1.5.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 bigreqsproto >= 1.1.0 xtrans >= 1.3.5 presentproto >= 1.0,; \ | |
33 | s,@symbol_visibility@,," | 34 | s,@symbol_visibility@,," | |
34 | 35 | |||
35 | .include <bsd.x11.mk> | 36 | .include <bsd.x11.mk> | |
36 | .include <bsd.man.mk> | 37 | .include <bsd.man.mk> | |
37 | .include <bsd.subdir.mk> | 38 | .include <bsd.subdir.mk> |