чување 8a15734a8cd2ba73d172cb2a986f39470e363afa родитељ 96a6e9cddd30bd7d0c6769f58086988aca8538cb Аутор: Страхиња Радић <contact@strahinja.org> Датум: Tue, 12 Mar 2024 11:06:06 +0100 INSTALL: Revise the OpenBSD section Signed-off-by: Страхиња Радић <contact@strahinja.org> Diffstat:
| M | INSTALL | | | 18 | ++++++++++++------ |
измењених датотека: 1, додавања: 12(+), брисања: 6(-)
diff --git a/INSTALL b/INSTALL @@ -29,12 +29,18 @@ specified in config.mk. OpenBSD ------- -Replace gcc in CC with cc and add -D_BSD_SOURCE, eg: +Before running make(1), comment the CFLAGS definition in config.mk above the +line with the "OpenBSD" comment and uncomment the one below it: - # CC='cc -g -Wall -pedantic -std=c99 -D_POSIX_C_SOURCE=200809L - -D_XOPEN_SOURCE=700 -D_BSD_SOURCE}' \ - make -e install + #CFLAGS = -g -Wall -pedantic -std=c99 \ + # -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 + # OpenBSD + CFLAGS = -g -Wall -pedantic -std=c99 \ + -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 \ + -D_BSD_SOURCE -and change MANPREFIX to +Also, do the same for MANPREFIX: - MANPREFIX=$PREFIX/man + #MANPREFIX = $(PREFIX)/share/man + # OpenBSD + MANPREFIX = $(PREFIX)/man