[PATCH:macros] XORG_MANPAGE_SECTIONS: limit SVR4 man page sections to Solaris 2.0-11

Jeremy Huddleston Sequoia jeremyhu at apple.com
Tue Oct 27 19:03:26 PDT 2015


> On Oct 27, 2015, at 16:06, Alan Coopersmith <alan.coopersmith at oracle.com> wrote:
> 
> All others (including other SunOS/Solaris releases) use the
> traditional Bell Labs / BSD / Linux section numbering.
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
> xorg-macros.m4.in |   22 +++++++++++++---------
> 1 file changed, 13 insertions(+), 9 deletions(-)
> 
> diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
> index f160a40..c62fae5 100644
> --- a/xorg-macros.m4.in
> +++ b/xorg-macros.m4.in
> @@ -1,6 +1,6 @@
> dnl @configure_input@
> dnl
> -dnl Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
> +dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.

"-" rather than ","

Other than that,

Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>

> dnl
> dnl Permission is hereby granted, free of charge, to any person obtaining a
> dnl copy of this software and associated documentation files (the "Software"),
> @@ -130,8 +130,9 @@ fi
> 
> if test x$FILE_MAN_SUFFIX = x    ; then
>     case $host_os in
> -	solaris*)	FILE_MAN_SUFFIX=4  ;;
> -	*)		FILE_MAN_SUFFIX=5  ;;
> +	# Solaris 2.0 - 11 use SVR4 man page sections
> +	solaris2.?|solaris2.1[[01]])	FILE_MAN_SUFFIX=4  ;;
> +	*)				FILE_MAN_SUFFIX=5  ;;
>     esac
> fi
> if test x$FILE_MAN_DIR = x    ; then
> @@ -140,8 +141,9 @@ fi
> 
> if test x$MISC_MAN_SUFFIX = x    ; then
>     case $host_os in
> -	solaris*)	MISC_MAN_SUFFIX=5  ;;
> -	*)		MISC_MAN_SUFFIX=7  ;;
> +	# Solaris 2.0 - 11 use SVR4 man page sections
> +	solaris2.?|solaris2.1[[01]])	MISC_MAN_SUFFIX=5  ;;
> +	*)				MISC_MAN_SUFFIX=7  ;;
>     esac
> fi
> if test x$MISC_MAN_DIR = x    ; then
> @@ -150,8 +152,9 @@ fi
> 
> if test x$DRIVER_MAN_SUFFIX = x    ; then
>     case $host_os in
> -	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
> -	*)		DRIVER_MAN_SUFFIX=4  ;;
> +	# Solaris 2.0 - 11 use SVR4 man page sections
> +	solaris2.?|solaris2.1[[01]])	DRIVER_MAN_SUFFIX=7  ;;
> +	*)				DRIVER_MAN_SUFFIX=4  ;;
>     esac
> fi
> if test x$DRIVER_MAN_DIR = x    ; then
> @@ -160,8 +163,9 @@ fi
> 
> if test x$ADMIN_MAN_SUFFIX = x    ; then
>     case $host_os in
> -	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
> -	*)		ADMIN_MAN_SUFFIX=8  ;;
> +	# Solaris 2.0 - 11 use SVR4 man page sections
> +	solaris2.?|solaris2.1[[01]])	ADMIN_MAN_SUFFIX=1m ;;
> +	*)				ADMIN_MAN_SUFFIX=8  ;;
>     esac
> fi
> if test x$ADMIN_MAN_DIR = x    ; then
> -- 
> 1.7.9.2
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4109 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20151027/14f4bfbe/attachment.bin>


More information about the xorg-devel mailing list