svn commit: r270520 - in head/tools/tools: ath/athaggrstats net80211/wlanstats

Adrian Chadd adrian at FreeBSD.org
Mon Aug 25 06:14:58 UTC 2014


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>


More information about the svn-src-head mailing list