Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 08:18:02 +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-11@freebsd.org
Subject:   svn commit: r345173 - in stable: 11/sbin/ifconfig 12/sbin/ifconfig
Message-ID:  <201903150818.x2F8I28U071729@repo.freebsd.org>

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

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/11/sbin/ifconfig/Makefile
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/sbin/ifconfig/Makefile
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/sbin/ifconfig/Makefile
==============================================================================
--- stable/11/sbin/ifconfig/Makefile	Fri Mar 15 07:34:06 2019	(r345172)
+++ stable/11/sbin/ifconfig/Makefile	Fri Mar 15 08:18:02 2019	(r345173)
@@ -39,8 +39,10 @@ SRCS+=	ifipsec.c		# IPsec VTI
 SRCS+=	sfp.c			# SFP/SFP+ information
 LIBADD+=	m
 
+.if ${MK_WIRELESS_SUPPORT} != "no"
 SRCS+=	ifieee80211.c		# SIOC[GS]IEEE80211 support
 LIBADD+=	80211
+.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?201903150818.x2F8I28U071729>