From owner-svn-ports-head@FreeBSD.ORG Sat Nov 30 14:47:16 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CD28EC6C; Sat, 30 Nov 2013 14:47:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B94A917EB; Sat, 30 Nov 2013 14:47:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAUElGha079601; Sat, 30 Nov 2013 14:47:16 GMT (envelope-from alexey@svn.freebsd.org) Received: (from alexey@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAUElG6I079600; Sat, 30 Nov 2013 14:47:16 GMT (envelope-from alexey@svn.freebsd.org) Message-Id: <201311301447.rAUElG6I079600@svn.freebsd.org> From: Alexey Degtyarev Date: Sat, 30 Nov 2013 14:47:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335290 - head/benchmarks/slowloris X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2013 14:47:16 -0000 Author: alexey Date: Sat Nov 30 14:47:16 2013 New Revision: 335290 URL: http://svnweb.freebsd.org/changeset/ports/335290 Log: * Unbreak build after r334225. * STAGE support. Modified: head/benchmarks/slowloris/Makefile Modified: head/benchmarks/slowloris/Makefile ============================================================================== --- head/benchmarks/slowloris/Makefile Sat Nov 30 14:39:45 2013 (r335289) +++ head/benchmarks/slowloris/Makefile Sat Nov 30 14:47:16 2013 (r335290) @@ -9,34 +9,24 @@ MASTER_SITES= ftp://ftp.renatasystems.or 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 +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 +.include