aboutsummaryrefslogtreecommitdiff
path: root/net/throttled
diff options
context:
space:
mode:
Diffstat (limited to 'net/throttled')
-rw-r--r--net/throttled/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/throttled/Makefile b/net/throttled/Makefile
index 423db8dca90e..f82996cb4856 100644
--- a/net/throttled/Makefile
+++ b/net/throttled/Makefile
@@ -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