Fix ibnd_* manpages sources

Some ibnd_* manpages source other manpages from a `man3/` directory when it
should reference the pages in the current directory.

Instead of modifying contributing sources and using `.so` (discouraged by
mandoc(1)) use MLINKS in the proper Makefile and do not install the affected
manpages.

PR: 237693
Reported by: wosch@FreeBSD.org
Reviewed by: gbe@ (mentor) yuripv@
Approved by: gbe@ (mentor) yuripv@
Differential Revision: https://reviews.freebsd.org/D28727
This commit is contained in:
Fernando Apesteguía 2021-02-17 15:55:57 +01:00
parent 662283b108
commit 0577e39bec

View File

@ -18,14 +18,15 @@ ibnetdisc_cache.c \
query_smp.c query_smp.c
MAN= \ MAN= \
ibnd_debug.3 \
ibnd_destroy_fabric.3 \
ibnd_discover_fabric.3 \ ibnd_discover_fabric.3 \
ibnd_find_node_dr.3 \
ibnd_find_node_guid.3 \ ibnd_find_node_guid.3 \
ibnd_iter_nodes.3 \ ibnd_iter_nodes.3
ibnd_iter_nodes_type.3 \
ibnd_show_progress.3 MLINKS+=ibnd_discover_fabric.3 ibnd_debug.3
MLINKS+=ibnd_discover_fabric.3 ibnd_destroy_fabric.3
MLINKS+=ibnd_discover_fabric.3 ibnd_show_progress.3
MLINKS+=ibnd_find_node_guid.3 ibnd_find_node_dr.3
MLINKS+=ibnd_iter_nodes.3 ibnd_iter_nodes_type.3
LIBADD= osmcomp ibmad ibumad LIBADD= osmcomp ibmad ibumad
CFLAGS+= -DHAVE_CONFIG_H=1 CFLAGS+= -DHAVE_CONFIG_H=1