pkgsrc/x11/xman/patches/patch-aa
joerg f0faa824cd When MANCONF is specified in the environment, use it. This allows
cross-compilation by hard-coding the real value as done for NetBSD.
2007-07-28 00:10:36 +00:00

18 lines
598 B
Text

$NetBSD: patch-aa,v 1.1 2007/07/28 00:10:37 joerg Exp $
--- configure.ac.orig 2007-07-28 02:05:42.000000000 +0200
+++ configure.ac
@@ -64,10 +64,12 @@ fi
XAW_CHECK_XPRINT_SUPPORT(XMAN)
# Check for man page config files
+if test x"$MANCONF" = x; then
AC_CHECK_FILE([/etc/man.conf], [MANCONF="/etc/man.conf"],
AC_CHECK_FILE([/etc/man.config], [MANCONF="/etc/man.config"],
AC_CHECK_FILE([/etc/manpath.config], [MANCONF="/etc/manpath.config"])))
-
+fi
+
if test x$MANCONF != x ; then
AC_DEFINE_UNQUOTED(MANCONF, "$MANCONF",
[Define to path to man config file if you have one])