1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-06-24 05:54:20 +00:00
parent d0b61f7b40
commit d91bb96f1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359041

View File

@ -13,14 +13,11 @@ COMMENT= Bandwidth shaping and QoS solution
LICENSE= GPLv3
USES= gmake
USE_RC_SUBR= ${PORTNAME}
PLIST_FILES= sbin/throttled sbin/throttled-startup
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
@${REINPLACE_CMD} -e "s|/usr/local|${STAGEDIR}${PREFIX}|g" \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|c++|${CXX}|;s|-O3|${CXXFLAGS}| \
;s|-pthread|${PTHREAD_LIBS}|" ${WRKSRC}/src/Makefile