pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/modular-xorg-server Add workaround for build failu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f5e9aa0e114
branches:  trunk
changeset: 394281:6f5e9aa0e114
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Jun 08 08:31:31 2009 +0000

description:
Add workaround for build failure on NetBSD, PR#41556.
Avoid to use bsd_kqueue_apm, force to use bsd_apm instead.

diffstat:

 x11/modular-xorg-server/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 8385d6e8ac86 -r 6f5e9aa0e114 x11/modular-xorg-server/Makefile
--- a/x11/modular-xorg-server/Makefile  Mon Jun 08 08:29:04 2009 +0000
+++ b/x11/modular-xorg-server/Makefile  Mon Jun 08 08:31:31 2009 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index