Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* Unbreak build after r334225.

* STAGE support.
  • Loading branch information...
commit cc455ffed296faae19d799f8dbf91dc1a541e606 1 parent d0cf1ff
alexey authored
Showing with 9 additions and 19 deletions.
  1. +9 −19 benchmarks/slowloris/Makefile
View
28 benchmarks/slowloris/Makefile
@@ -9,34 +9,24 @@ MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
MAINTAINER= alexey@renatasystems.org
COMMENT= The low bandwidth, yet greedy and poisonous HTTP client
-USES= perl5
-NO_BUILD= yes
-
RUN_DEPENDS= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long
-PLIST_FILES= bin/slowloris
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+USES= perl5
+NO_BUILD= yes
-PERL_THREADS= yes
+PLIST_FILES= bin/slowloris
-.if exists(${PERL})
-PERL_THREADS!= ${PERL} -V::usethreads
-.if ${PERL_THREADS} == "'define';"
-RUN_DEPENDS+= p5-threads-shared>=0:${PORTSDIR}/devel/p5-threads-shared
-PERL_THREADS= yes
-.else
-PERL_THREADS= no
-.endif
-.endif
+PERL_THREADS?= yes
.if ${PERL_THREADS} != "yes"
EXTRA_PATCHES+= ${FILESDIR}/extra-nothreads
+.else
+RUN_DEPENDS+= p5-threads-shared>=0:${PORTSDIR}/devel/p5-threads-shared
.endif
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/slowloris.pl ${PREFIX}/bin/slowloris
+ ${INSTALL_SCRIPT} ${WRKSRC}/slowloris.pl \
+ ${STAGEDIR}/${PREFIX}/bin/slowloris
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Please sign in to comment.
Something went wrong with that request. Please try again.