Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 06:14:57 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270520 - in head/tools/tools: ath/athaggrstats net80211/wlanstats
Message-ID:  <201408250614.s7P6EvEA089206@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Aug 25 06:14:57 2014
New Revision: 270520
URL: http://svnweb.freebsd.org/changeset/base/270520

Log:
  Update these to make them actually compile!
  
  Tested:
  
  * cross compilation to MIPS

Modified:
  head/tools/tools/ath/athaggrstats/Makefile
  head/tools/tools/net80211/wlanstats/Makefile

Modified: head/tools/tools/ath/athaggrstats/Makefile
==============================================================================
--- head/tools/tools/ath/athaggrstats/Makefile	Mon Aug 25 06:10:03 2014	(r270519)
+++ head/tools/tools/ath/athaggrstats/Makefile	Mon Aug 25 06:14:57 2014	(r270520)
@@ -12,8 +12,8 @@ CLEANFILES+=	opt_ah.h
 
 CFLAGS+=-DATH_SUPPORT_ANI
 CFLAGS+=-DATH_SUPPORT_TDMA
-USEPRIVATELIB=
-LDADD=/usr/lib/private/libbsdstat.so.1
+USEPRIVATELIB=  bsdstat
+LDADD=	${LDBSDSTAT}
 
 opt_ah.h:
 	echo "#define AH_DEBUG 1" > opt_ah.h

Modified: head/tools/tools/net80211/wlanstats/Makefile
==============================================================================
--- head/tools/tools/net80211/wlanstats/Makefile	Mon Aug 25 06:10:03 2014	(r270519)
+++ head/tools/tools/net80211/wlanstats/Makefile	Mon Aug 25 06:14:57 2014	(r270520)
@@ -5,10 +5,11 @@
 PROG=	wlanstats
 BINDIR=	/usr/local/bin
 MAN=
-USEPRIVATELIB=
+USEPRIVATELIB=  bsdstat
+LDADD=  ${LDBSDSTAT}
 
 SRCS=	wlanstats.c main.c
-LDADD=	-lbsdstat
+
 CFLAGS.clang+= -fbracket-depth=512
 
 .include <bsd.prog.mk>



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