allow xman to be cross build (patch)

Jeremy C. Reed reed at
Sat Jul 28 05:25:21 PDT 2007

Okay if I commit the following from pkgsrc that allows xman to be cross 
built by not assuming the detected configuration on the build system is 
correct default for the target system (by setting MANCONF in environment)?

Or do you want me to add a --with-manconfig option?

Or should it check $host_os (like it does for MAN_CONFIG_STYLE) to figure 

diff --git a/ b/
index 3adfde3..7ae63c8 100644
--- a/
+++ b/
@@ -64,10 +64,12 @@ fi
 # 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"])))
 if test x$MANCONF != x ; then
 	[Define to path to man config file if you have one])

  Jeremy C. Reed

More information about the xorg mailing list