Date: Mon, 27 Aug 2018 19:34:51 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338342 - head/tools/bsdbox Message-ID: <201808271934.w7RJYpvU086946@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Mon Aug 27 19:34:50 2018 New Revision: 338342 URL: https://svnweb.freebsd.org/changeset/base/338342 Log: Fix bsdbox build WITH_OFED hostapd requires libpcap, which links against libmlx5 and libibverbs when building WITH_OFED. These were not pulled in to bsdbox and most bsdbox builds were WITHOUT_OFED up until recently, so it was not noticed. Approved by: re (gjb) Modified: head/tools/bsdbox/Makefile.hostapd Modified: head/tools/bsdbox/Makefile.hostapd ============================================================================== --- head/tools/bsdbox/Makefile.hostapd Mon Aug 27 18:13:20 2018 (r338341) +++ head/tools/bsdbox/Makefile.hostapd Mon Aug 27 19:34:50 2018 (r338342) @@ -3,6 +3,7 @@ # # $FreeBSD$ # +.include <src.opts.mk> CRUNCH_PROGS_usr.sbin+= hostapd hostapd_cli CRUNCH_SRCDIR_hostapd= $(.CURDIR)/../../usr.sbin/wpa/hostapd CRUNCH_SRCDIR_hostapd_cli= $(.CURDIR)/../../usr.sbin/wpa/hostapd_cli @@ -11,5 +12,9 @@ CRUNCH_SRCDIR_hostapd_cli= $(.CURDIR)/../../usr.sbin/w #CRUNCH_SRCDIR_wpa_supplicant= $(.CURDIR)/../../usr.sbin/wpa/wpa_supplicant #CRUNCH_SRCDIR_wpa_cli= $(.CURDIR)/../../usr.sbin/wpa/wpa_cli +.if ${MK_OFED} != "no" +# libpcap dependencies if OFED is enabled +CRUNCH_LIBS+= -lmlx5 -libverbs +.endif CRUNCH_LIBS+= -lpcap
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808271934.w7RJYpvU086946>