version 1.41, 2021/09/19 16:19:09 |
version 1.45, 2023/10/19 11:45:42 |
|
|
# $Id$ |
# $Id$ |
# |
# |
# Copyright (c) 2014-2019 Ingo Schwarze <schwarze@openbsd.org> |
# Copyright (c) 2014-2022 Ingo Schwarze <schwarze@openbsd.org> |
# |
# |
# Permission to use, copy, modify, and distribute this software for any |
# Permission to use, copy, modify, and distribute this software for any |
# purpose with or without fee is hereby granted, provided that the above |
# purpose with or without fee is hereby granted, provided that the above |
|
|
# IBM AIX may need: |
# IBM AIX may need: |
CC=xlc |
CC=xlc |
|
|
|
# By default, "ar" is used as the library archive builder, but it |
|
# can be overridden. For example, NixOS may not have ar(1) in the |
|
# PATH, but may want to specify an absolute path instead. |
|
AR=ar |
|
|
# For -Tutf8 and -Tlocale operation, mandoc(1) requires <locale.h> |
# For -Tutf8 and -Tlocale operation, mandoc(1) requires <locale.h> |
# providing setlocale(3) and <wchar.h> providing wcwidth(3) and |
# providing setlocale(3) and <wchar.h> providing wcwidth(3) and |
# putwchar(3) with a wchar_t storing UCS-4 values. Theoretically, |
# putwchar(3) with a wchar_t storing UCS-4 values. Theoretically, |
Line 103 OSNAME="OpenBSD 7.0" |
|
Line 108 OSNAME="OpenBSD 7.0" |
|
# there is no need to copy the whole block. |
# there is no need to copy the whole block. |
# Even if you set PREFIX to something else, the other variables |
# Even if you set PREFIX to something else, the other variables |
# pick it up without copying them all over. |
# pick it up without copying them all over. |
|
# MISCDIR is only used for installing the file mandoc.css. |
|
# That is important because users of "mandoc -T html" often need it |
|
# even if they are not using man.cgi(8), see mandoc(1) for details. |
|
|
PREFIX="/usr/local" |
PREFIX="/usr/local" |
BINDIR="${PREFIX}/bin" |
BINDIR="${PREFIX}/bin" |
SBINDIR="${PREFIX}/sbin" |
SBINDIR="${PREFIX}/sbin" |
MANDIR="${PREFIX}/man" |
MANDIR="${PREFIX}/man" |
|
MISCDIR="${PREFIX}/share/misc" |
|
|
# If BINDIR and SBINDIR are not subdirectories of the same parent |
# If BINDIR and SBINDIR are not subdirectories of the same parent |
# directory or if the basename(1) of BINDIR differs from "bin", |
# directory or if the basename(1) of BINDIR differs from "bin", |
Line 286 CGIBINDIR="${WWWPREFIX}/cgi-bin" |
|
Line 295 CGIBINDIR="${WWWPREFIX}/cgi-bin" |
|
# To enable it, use the following line. |
# To enable it, use the following line. |
# It does not work on SunOS 5.10 because there is no mkdirat(2) |
# 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). |
# nor on SunOS 5.9 which also lacks CMSG_LEN(3) and CMSG_SPACE(3). |
|
# It may not work on old releases of Mac OS X either. For example, |
|
# Mac OS X 10.4 Tiger provides neither mkdirat(2) nor openat(2). |
|
|
BUILD_CATMAN=1 |
BUILD_CATMAN=1 |
|
|
Line 304 BINM_CATMAN=mcatman # default is "catman" |
|
Line 315 BINM_CATMAN=mcatman # default is "catman" |
|
# unchanged, and nothing will be added. |
# unchanged, and nothing will be added. |
|
|
CFLAGS="-g" |
CFLAGS="-g" |
|
|
|
# Hunt for memory leaks. |
|
# Do not use for production builds. |
|
# See mandoc_dbg_init(3) for more information. |
|
|
|
DEBUG_MEMORY=1 |
|
|
# In rare cases, it may be required to skip individual automatic tests. |
# In rare cases, it may be required to skip individual automatic tests. |
# Each of the following variables can be set to 0 (test will not be run |
# Each of the following variables can be set to 0 (test will not be run |