Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 08:21:11 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r345174 - stable/10/sbin/ifconfig
Message-ID:  <201903150821.x2F8LBfL073465@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Fri Mar 15 08:21:11 2019
New Revision: 345174
URL: https://svnweb.freebsd.org/changeset/base/345174

Log:
  MFC r344748:
  Allow to build ifconfig(8) without wireless support
  
  The change removes SIOC[GS]IEEE80211 handling from ifconfig(8)
  if WITHOUT_WIRELESS_SUPPORT=yes is set in src.conf(5).
  
  Reviewed by:	bz
  Differential Revision:	https://reviews.freebsd.org/D19289

Modified:
  stable/10/sbin/ifconfig/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sbin/ifconfig/Makefile
==============================================================================
--- stable/10/sbin/ifconfig/Makefile	Fri Mar 15 08:18:02 2019	(r345173)
+++ stable/10/sbin/ifconfig/Makefile	Fri Mar 15 08:21:11 2019	(r345174)
@@ -39,9 +39,11 @@ SRCS+=	sfp.c			# SFP/SFP+ information
 DPADD+=	${LIBM}
 LDADD+=	-lm
 
+.if ${MK_WIRELESS_SUPPORT} != "no"
 SRCS+=	ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support
 DPADD+=	${LIBBSDXML} ${LIBSBUF}
 LDADD+=	-lbsdxml -lsbuf
+.endif
 
 SRCS+=	carp.c			# SIOC[GS]VH support
 SRCS+=	ifgroup.c		# ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903150821.x2F8LBfL073465>