summaryrefslogtreecommitdiff
path: root/x11/modular-xorg-server
diff options
context:
space:
mode:
authorobache <obache>2009-06-08 08:31:31 +0000
committerobache <obache>2009-06-08 08:31:31 +0000
commitb6510546d02b29d4e732777c7b4be81ef84b7f4f (patch)
tree7bd58b50bccc8e1241eedecb518ad192828c4d93 /x11/modular-xorg-server
parenta9df9fc2e98cc298b2dde44ebd22d8b491232c14 (diff)
downloadpkgsrc-b6510546d02b29d4e732777c7b4be81ef84b7f4f.tar.gz
Add workaround for build failure on NetBSD, PR#41556.
Avoid to use bsd_kqueue_apm, force to use bsd_apm instead.
Diffstat (limited to 'x11/modular-xorg-server')
-rw-r--r--x11/modular-xorg-server/Makefile8
1 files changed, 7 insertions, 1 deletions
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