version 1.15, 2016/07/19 21:31:55 |
version 1.25, 2017/02/08 16:16:08 |
|
|
|
|
HAVE_WCHAR=0 |
HAVE_WCHAR=0 |
|
|
|
# For -Tutf8 mode, mandoc needs to set an arbitrary locale having |
|
# a UTF-8 character set. If autodetection of a suitable locale |
|
# fails or selects an undesirable locale, you can manually choose |
|
# the locale for -Tutf8 mode: |
|
|
|
UTF8_LOCALE=en_US.UTF-8 |
|
|
# When man(1) or apropos(1) is called without -m and -M options, |
# When man(1) or apropos(1) is called without -m and -M options, |
# MANPATH is not set in the environment, man.conf(5) is not available |
# MANPATH is not set in the environment, and man.conf(5) is not |
# and manpath(1) not used, manuals are searched for in the following |
# available, manuals are searched for in the following directory |
# directory trees by default. |
# trees by default. |
|
|
MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man" |
MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man" |
|
|
Line 76 OSNAME="OpenBSD 6.0" |
|
Line 83 OSNAME="OpenBSD 6.0" |
|
PREFIX="/usr/local" |
PREFIX="/usr/local" |
BINDIR="${PREFIX}/bin" |
BINDIR="${PREFIX}/bin" |
SBINDIR="${PREFIX}/sbin" |
SBINDIR="${PREFIX}/sbin" |
INCLUDEDIR="${PREFIX}/include/mandoc" |
|
LIBDIR="${PREFIX}/lib/mandoc" |
|
MANDIR="${PREFIX}/man" |
MANDIR="${PREFIX}/man" |
|
|
# The man(1) utility needs to know where the manuals reside. |
|
# We know of two ways to tell it: via manpath(1) or man.conf(5). |
|
# The latter is used by OpenBSD and NetBSD, the former by most |
|
# other systems. |
|
|
|
# Force usage of manpath(1). |
|
# If it is not installed or not operational, |
|
# man(1), makewhatis(8), and apropos(1) will not work properly. |
|
HAVE_MANPATH=1 |
|
|
|
# Force usage of man.conf(5). |
|
HAVE_MANPATH=0 |
|
|
|
# Some distributions may want to avoid naming conflicts |
# Some distributions may want to avoid naming conflicts |
# with the configuration files of other man(1) implementations. |
# with the configuration files of other man(1) implementations. |
# This changes the name of the installed section 5 manual page as well. |
# This changes the name of the installed section 5 manual page as well. |
Line 142 LD_OHASH="-lutil" |
|
Line 134 LD_OHASH="-lutil" |
|
|
|
CFLAGS="${CFLAGS} -I/usr/local/include" |
CFLAGS="${CFLAGS} -I/usr/local/include" |
|
|
# Some platforms may need additional linker flags to link against libmandoc |
# Some platforms may need an additional linker flag for nanosleep(2). |
# that are not autodetected. |
# If none is needed or it is -lrt, it is autodetected. |
# For example, Solaris 9 and 10 need -lrt for nanosleep(2). |
# Otherwise, set the following variable. |
|
|
LDADD="-lrt" |
LD_NANOSLEEP="-lrt" |
|
|
|
# Some platforms may need an additional linker flag for recvmsg(2). |
|
# If none is needed or it is -lsocket, it is autodetected. |
|
# Otherwise, set the following variable. |
|
|
|
LD_RECVMSG="-lsocket" |
|
|
|
# Some platforms might need additional linker flags to link against |
|
# libmandoc that are not autodetected, though no such cases are |
|
# currently known. |
|
|
|
LDADD="-lm" |
|
|
# Some systems may want to set additional linker flags for all the |
# Some systems may want to set additional linker flags for all the |
# binaries, not only for those using libmandoc, for example for |
# binaries, not only for those using libmandoc, for example for |
# hardening options. |
# hardening options. |
Line 172 INSTALL_DATA="${INSTALL} -m 0444" |
|
Line 176 INSTALL_DATA="${INSTALL} -m 0444" |
|
PREFIX="/usr/local" |
PREFIX="/usr/local" |
HOMEBREWDIR="${PREFIX}/Cellar" |
HOMEBREWDIR="${PREFIX}/Cellar" |
|
|
|
# --- user settings for the mandoc(3) library -------------------------- |
|
|
|
# By default, libmandoc.a is not installed. It is almost never needed |
|
# because there is almost no non-mandoc software out there using this |
|
# library. The one notable exception is NetBSD apropos(1). |
|
# So, when building for the NetBSD base system - but not for NetBSD |
|
# ports nor for pkgsrc! - you may want the following: |
|
|
|
INSTALL_LIBMANDOC=1 |
|
|
|
# The following settings are only used when INSTALL_LIBMANDOC is set. |
|
|
|
INCLUDEDIR="${PREFIX}/include/mandoc" |
|
LIBDIR="${PREFIX}/lib/mandoc" |
|
|
# --- user settings related to man.cgi --------------------------------- |
# --- user settings related to man.cgi --------------------------------- |
|
|
# By default, building man.cgi(8) is disabled. To enable it, copy |
# By default, building man.cgi(8) is disabled. To enable it, copy |
Line 199 WWWPREFIX="/var/www" |
|
Line 218 WWWPREFIX="/var/www" |
|
HTDOCDIR="${WWWPREFIX}/htdocs" |
HTDOCDIR="${WWWPREFIX}/htdocs" |
CGIBINDIR="${WWWPREFIX}/cgi-bin" |
CGIBINDIR="${WWWPREFIX}/cgi-bin" |
|
|
|
# --- user settings related to catman ---------------------------------- |
|
|
|
# By default, building mandocd(8) and catman(8) is disabled. |
|
# To enable it, use the following line. |
|
# It does not work on SunOS 5.10 because there is no mkdirat(2) |
|
# nor on SunOS 5.9 which also lacks CMSG_LEN(3) and CMSG_SPACE(3). |
|
|
|
BUILD_CATMAN=1 |
|
|
# --- settings that rarely need to be touched -------------------------- |
# --- settings that rarely need to be touched -------------------------- |
|
|
# Do not set these variables unless you really need to. |
# Do not set these variables unless you really need to. |
|
|
# be regarded as successful). |
# be regarded as successful). |
|
|
HAVE_DIRENT_NAMLEN=0 |
HAVE_DIRENT_NAMLEN=0 |
|
HAVE_ENDIAN=0 |
|
HAVE_EFTYPE=0 |
HAVE_ERR=0 |
HAVE_ERR=0 |
HAVE_FTS=0 |
HAVE_FTS=0 # Setting this implies HAVE_FTS_COMPARE_CONST=0. |
|
HAVE_FTS_COMPARE_CONST=0 # Setting this implies HAVE_FTS=1. |
HAVE_GETLINE=0 |
HAVE_GETLINE=0 |
HAVE_GETSUBOPT=0 |
HAVE_GETSUBOPT=0 |
HAVE_ISBLANK=0 |
HAVE_ISBLANK=0 |
HAVE_MKDTEMP=0 |
HAVE_MKDTEMP=0 |
|
HAVE_NTOHL=0 |
HAVE_OHASH=0 |
HAVE_OHASH=0 |
|
HAVE_PATH_MAX=0 |
HAVE_PLEDGE=0 |
HAVE_PLEDGE=0 |
HAVE_PROGNAME=0 |
HAVE_PROGNAME=0 |
HAVE_REALLOCARRAY=0 |
HAVE_REALLOCARRAY=0 |
|
|
HAVE_STRPTIME=0 |
HAVE_STRPTIME=0 |
HAVE_STRSEP=0 |
HAVE_STRSEP=0 |
HAVE_STRTONUM=0 |
HAVE_STRTONUM=0 |
|
HAVE_SYS_ENDIAN=0 |
HAVE_VASPRINTF=0 |
HAVE_VASPRINTF=0 |
HAVE_WCHAR=0 |
HAVE_WCHAR=0 |