summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/xfs/Makefile.bsd-wrapper4
-rw-r--r--app/xfs/configure.ac4
-rw-r--r--lib/libXcomposite/Makefile.bsd-wrapper4
-rw-r--r--lib/libXcomposite/configure.ac7
-rw-r--r--lib/libXfont/Makefile.bsd-wrapper4
-rw-r--r--lib/libXfont/configure.ac4
-rw-r--r--lib/libXtst/Makefile.bsd-wrapper4
-rw-r--r--lib/libXtst/configure.ac15
-rw-r--r--share/mk/bsd.xorg.mk3
9 files changed, 28 insertions, 21 deletions
diff --git a/app/xfs/Makefile.bsd-wrapper b/app/xfs/Makefile.bsd-wrapper
index 94c8df4d4..51563c4bf 100644
--- a/app/xfs/Makefile.bsd-wrapper
+++ b/app/xfs/Makefile.bsd-wrapper
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2006/11/29 11:41:28 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2010/01/17 20:48:49 matthieu Exp $
-CONFIGURE_ARGS= --datadir=/etc
+CONFIGURE_ARGS= --datadir=/etc --with-xmlto=no
.include <bsd.xorg.mk>
diff --git a/app/xfs/configure.ac b/app/xfs/configure.ac
index dc7559c48..74ac6c85f 100644
--- a/app/xfs/configure.ac
+++ b/app/xfs/configure.ac
@@ -44,9 +44,7 @@ AC_PROG_INSTALL
AC_CANONICAL_HOST
# xmlto is used to convert doc/design.xml from DocBook to PDF/HTML
-AC_ARG_VAR([XMLTO], [Path to xmlto command])
-AC_PATH_PROG([XMLTO], [xmlto])
-AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"])
+XORG_WITH_XMLTO
AC_CHECK_HEADERS([stdint.h])
diff --git a/lib/libXcomposite/Makefile.bsd-wrapper b/lib/libXcomposite/Makefile.bsd-wrapper
index c87b4741b..c3826e777 100644
--- a/lib/libXcomposite/Makefile.bsd-wrapper
+++ b/lib/libXcomposite/Makefile.bsd-wrapper
@@ -1,5 +1,7 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2007/03/15 23:00:47 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2010/01/17 20:48:49 matthieu Exp $
SHARED_LIBS= Xcomposite 3.0
+CONFIGURE_ARGS += --with-xmlto=no
+
.include <bsd.xorg.mk>
diff --git a/lib/libXcomposite/configure.ac b/lib/libXcomposite/configure.ac
index 3567715b4..154cd2cc4 100644
--- a/lib/libXcomposite/configure.ac
+++ b/lib/libXcomposite/configure.ac
@@ -48,12 +48,7 @@ AC_PROG_LIBTOOL
XORG_DEFAULT_OPTIONS
-AC_ARG_VAR([XMLTO], [Path to xmlto command])
-AC_PATH_PROG([XMLTO], [xmlto])
-AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"])
-if test "x$XMLTO" = "x" -a ! -f $srcdir/man/Xcomposite.man ; then
- AC_MSG_WARN([xmlto not found - cannot create man pages without it])
-fi
+XORG_WITH_XMLTO
# Check compositeext configuration, strip extra digits from package version to
# find the required protocol version
diff --git a/lib/libXfont/Makefile.bsd-wrapper b/lib/libXfont/Makefile.bsd-wrapper
index 047c78ee9..c3c373849 100644
--- a/lib/libXfont/Makefile.bsd-wrapper
+++ b/lib/libXfont/Makefile.bsd-wrapper
@@ -1,8 +1,10 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.9 2009/10/31 17:57:11 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.10 2010/01/17 20:48:49 matthieu Exp $
.include <bsd.xconf.mk>
SHARED_LIBS= Xfont 9.0
+CONFIGURE_ARGS+= --with-xmlto=no
+
.if ${XENOCARA_HAVE_SHARED_LIBS:L} == "no"
CONFIGURE_ARGS+= --disable-loadable-font-modules
.endif
diff --git a/lib/libXfont/configure.ac b/lib/libXfont/configure.ac
index 399f7d05d..cc75baeb5 100644
--- a/lib/libXfont/configure.ac
+++ b/lib/libXfont/configure.ac
@@ -50,9 +50,7 @@ PKG_PROG_PKG_CONFIG
XORG_DEFAULT_OPTIONS
# xmlto is used to convert doc/fontlib.xml from DocBook to PDF/HTML
-AC_ARG_VAR([XMLTO], [Path to xmlto command])
-AC_PATH_PROG([XMLTO], [xmlto])
-AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"])
+XORG_WITH_XMLTO
# Option to enable support for building developer internals docs
AC_ARG_ENABLE(devel-docs,
diff --git a/lib/libXtst/Makefile.bsd-wrapper b/lib/libXtst/Makefile.bsd-wrapper
index 3fa2138b0..594b66d13 100644
--- a/lib/libXtst/Makefile.bsd-wrapper
+++ b/lib/libXtst/Makefile.bsd-wrapper
@@ -1,5 +1,7 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2007/03/15 23:00:48 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2010/01/17 20:48:49 matthieu Exp $
SHARED_LIBS= Xtst 10.0
+CONFIGURE_ARGS= --without-xmlto
+
.include <bsd.xorg.mk>
diff --git a/lib/libXtst/configure.ac b/lib/libXtst/configure.ac
index a7fc7aed1..617f80da5 100644
--- a/lib/libXtst/configure.ac
+++ b/lib/libXtst/configure.ac
@@ -23,7 +23,7 @@ dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(libXtst, 1.0.1, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXtst)
+AC_INIT(libXtst, 1.0.3, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXtst)
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
@@ -33,14 +33,25 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_LIBTOOL
+# Check for xmlto for man page conversion
+# (only needed by people building tarballs)
+XORG_WITH_XMLTO
+
# Check for dependencies
PKG_CHECK_MODULES(XTST, x11 xext recordproto xextproto inputproto)
+dnl Allow checking code with lint, sparse, etc.
+XORG_WITH_LINT
+XORG_LINT_LIBRARY([Xtst])
+LINT_FLAGS="${LINT_FLAGS} ${XTST_CFLAGS}"
+
AC_SUBST(XTST_CFLAGS)
AC_SUBST(XTST_LIBS)
-
+
+XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
AC_OUTPUT([Makefile
+ man/Makefile
src/Makefile
xtst.pc])
diff --git a/share/mk/bsd.xorg.mk b/share/mk/bsd.xorg.mk
index 0fdf809ea..39f8e6eed 100644
--- a/share/mk/bsd.xorg.mk
+++ b/share/mk/bsd.xorg.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.xorg.mk,v 1.32 2009/05/22 15:46:13 matthieu Exp $ -*- makefile -*-
+# $OpenBSD: bsd.xorg.mk,v 1.33 2010/01/17 20:48:49 matthieu Exp $ -*- makefile -*-
#
# Copyright © 2006 Matthieu Herrb
#
@@ -53,7 +53,6 @@ _SRCDIR?= ${.CURDIR}
CONFIGURE_ENV= PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)" \
CONFIG_SITE=$(CONFIG_SITE) \
- XMLTO=: \
CFLAGS="$(CFLAGS:C/ *$//)" \
MAKE="${MAKE}"