mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- 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
This commit is contained in:
parent
4813b9629f
commit
dd5a3fa42e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348316
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user