Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2014 12:06:49 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348316 - head/net/shaperprobe
Message-ID:  <201403151206.s2FC6n7H055776@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Mar 15 12:06:49 2014
New Revision: 348316
URL: http://svnweb.freebsd.org/changeset/ports/348316
QAT: https://qat.redports.org/buildarchive/r348316/

Log:
  - Fix the build (linking) against Clang by uninlining couple of functions
  - While here, convert EXTRACT_SUFX to USES=tar:tgz and define ALL_TARGET,
    since upstream `all' target is racy

Modified:
  head/net/shaperprobe/Makefile

Modified: head/net/shaperprobe/Makefile
==============================================================================
--- head/net/shaperprobe/Makefile	Sat Mar 15 11:59:30 2014	(r348315)
+++ head/net/shaperprobe/Makefile	Sat Mar 15 12:06:49 2014	(r348316)
@@ -7,18 +7,24 @@ PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.cc.gatech.edu/~partha/diffprobe/
 DISTNAME=	${PORTNAME}
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	josh.carroll@gmail.com
 COMMENT=	Utility to check for traffic shapers
 
 LICENSE=	GPLv2
 
-USE_GCC=	yes
+USES=		tar:tgz
 
 MAKEFILE=	Makefile.osx
+ALL_TARGET=	prober
+
 PLIST_FILES=	bin/prober
 
+post-patch:
+# Unbreak the build against Clang
+	@${REINPLACE_CMD} -E '/getLevelShift|smoothFilterRate/s,^inline ,,' \
+		${WRKSRC}/tbdetect.c
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/prober ${STAGEDIR}${PREFIX}/bin
 



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