git: 0577e39bec76 - main - Fix ibnd_* manpages sources

Fernando Apesteguía fernape at FreeBSD.org
Thu Feb 18 15:05:39 UTC 2021


The branch main has been updated by fernape (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=0577e39bec76b23aa099b68d5d1c832cc3823c38

commit 0577e39bec76b23aa099b68d5d1c832cc3823c38
Author:     Fernando Apesteguía <fernape at FreeBSD.org>
AuthorDate: 2021-02-17 14:55:57 +0000
Commit:     Fernando Apesteguía <fernape at FreeBSD.org>
CommitDate: 2021-02-18 14:59:34 +0000

    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 at FreeBSD.org
    Reviewed by: gbe@ (mentor) yuripv@
    Approved by: gbe@ (mentor) yuripv@
    Differential Revision: https://reviews.freebsd.org/D28727
---
 lib/ofed/libibnetdisc/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/lib/ofed/libibnetdisc/Makefile b/lib/ofed/libibnetdisc/Makefile
index 0c43685fa236..eb1706197442 100644
--- a/lib/ofed/libibnetdisc/Makefile
+++ b/lib/ofed/libibnetdisc/Makefile
@@ -18,14 +18,15 @@ ibnetdisc_cache.c \
 query_smp.c
 
 MAN= \
-ibnd_debug.3 \
-ibnd_destroy_fabric.3 \
 ibnd_discover_fabric.3 \
-ibnd_find_node_dr.3 \
 ibnd_find_node_guid.3 \
-ibnd_iter_nodes.3 \
-ibnd_iter_nodes_type.3 \
-ibnd_show_progress.3
+ibnd_iter_nodes.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
 CFLAGS+=	-DHAVE_CONFIG_H=1


More information about the dev-commits-src-main mailing list