From 86e25ae7fa94bdc5f4ff5bf91ca6125af5efbc88 Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 8 Jun 2009 08:31:31 +0000 Subject: Add workaround for build failure on NetBSD, PR#41556. Avoid to use bsd_kqueue_apm, force to use bsd_apm instead. --- x11/modular-xorg-server/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'x11/modular-xorg-server') diff --git a/x11/modular-xorg-server/Makefile b/x11/modular-xorg-server/Makefile index 5f1cf4987bf..28e1b6a9ada 100644 --- a/x11/modular-xorg-server/Makefile +++ b/x11/modular-xorg-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2009/06/08 05:27:41 obache Exp $ +# $NetBSD: Makefile,v 1.44 2009/06/08 08:31:31 obache Exp $ # DISTNAME= xorg-server-1.6.1.901 @@ -68,6 +68,12 @@ CONFIGURE_ARGS+= --with-int10=x86emu CONFIGURE_ENV+= APP_MAN_SUFFIX=1 FILE_MAN_SUFFIX=5 +# Workaround for PR#41556. +# Avoid to use bsd_kqueue_apm, force to use bsd_apm instead. +.if ${OPSYS} == "NetBSD" +CONFIGURE_ENV+= ac_cv_header_sys_event_h=no +.endif + INSTALLATION_DIRS+= lib/xorg/modules/drivers lib/xorg/modules/input BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=7.1.0 -- cgit v1.2.3