rc.d/opensm: Only install when MK_OFED_EXTRA is set

opensm itself is only installed when MK_OFED_EXTRA is set, so it only
makes sense for the same to be true of the rc script.

PR:		257646
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D47313
This commit is contained in:
Mark Johnston 2024-10-29 13:01:00 +00:00
parent 5ec83c660a
commit 207ab5f4f1
2 changed files with 2 additions and 1 deletions

View File

@ -286,7 +286,7 @@ NTP+= ntpd \
NTPPACKAGE= ntp
.endif
.if ${MK_OFED} != "no"
.if ${MK_OFED_EXTRA} != "no"
_opensm= opensm
.endif

View File

@ -6540,6 +6540,7 @@ OLD_FILES+=usr/share/man/man8/ibstat.8.gz
.endif
.if ${MK_OFED_EXTRA} == no
OLD_FILES+=etc/rc.d/opensm
OLD_FILES+=usr/bin/dump_fts
OLD_FILES+=usr/bin/ibaddr
OLD_FILES+=usr/bin/ibcacheedit