diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-11-05 23:49:16 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-11-05 23:49:16 +0800 |
commit | cfcbf29eb5d8b4463f07966a74b5830dc4947920 (patch) | |
tree | ac077574724fbbd6cd1b021f94902ddabb400e97 /x11/libxcb/Makefile | |
parent | bae4b3e1c8671f55719fbaec4e31eefa4ad1a2ed (diff) | |
download | freebsd-ports-gnome-cfcbf29eb5d8b4463f07966a74b5830dc4947920.tar.gz freebsd-ports-gnome-cfcbf29eb5d8b4463f07966a74b5830dc4947920.tar.zst freebsd-ports-gnome-cfcbf29eb5d8b4463f07966a74b5830dc4947920.zip |
- Fix building on 4.x.
Reported by: pointyhat
Diffstat (limited to 'x11/libxcb/Makefile')
-rw-r--r-- | x11/libxcb/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile index 53856e596548..bbc6de655626 100644 --- a/x11/libxcb/Makefile +++ b/x11/libxcb/Makefile @@ -43,7 +43,14 @@ XDMCP_LIBS= -L${X11BASE}/lib -lXdmcp XPROTO_CFLAGS= -I${X11BASE}/include XPROTO_LIBS= -L${X11BASE}/lib +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src__xcb.h \ + ${FILESDIR}/extra-patch-src__xcb_auth.c +.endif + post-build: DISPLAY= ${GMAKE} -C ${WRKSRC} check -.include <bsd.port.mk> +.include <bsd.port.post.mk> |