aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-07-31 21:00:59 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-07-31 21:00:59 +0800
commit15f74f7bfda4671b3ed29515dd7e1869c73c7ac8 (patch)
treeed91229bc5e236db7e80e2cbddc59b1de9c73b29 /www
parentee7dffa62fc37d4798d6d8a286ea9769d0ad0440 (diff)
downloadfreebsd-ports-gnome-15f74f7bfda4671b3ed29515dd7e1869c73c7ac8.tar.gz
freebsd-ports-gnome-15f74f7bfda4671b3ed29515dd7e1869c73c7ac8.tar.zst
freebsd-ports-gnome-15f74f7bfda4671b3ed29515dd7e1869c73c7ac8.zip
- Really fix shebangs
- Add missing perl run-dependency
Diffstat (limited to 'www')
-rw-r--r--www/webstone-ssl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/webstone-ssl/Makefile b/www/webstone-ssl/Makefile
index 7b8aac33d6c8..63d3cf19022f 100644
--- a/www/webstone-ssl/Makefile
+++ b/www/webstone-ssl/Makefile
@@ -3,7 +3,7 @@
PORTNAME= webstone
PORTVERSION= 2.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www benchmarks
MASTER_SITES= http://crypto.stanford.edu/~nagendra/projects/WebStone/download/
PKGNAMESUFFIX= -ssl
@@ -15,8 +15,10 @@ COMMENT= World wide web server benchmarking with SSL support
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= shebangfix tar:tgz
+USES= perl5 shebangfix tar:tgz
+USE_PERL5= run
SHEBANG_FILES= bin/*.wpl bin/*.pl
+perl_OLD_CMD= /bin/perl5
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}
CONFIGURE_WRKSRC= ${WRKSRC}/src
@@ -28,6 +30,9 @@ MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
+post-patch:
+ @${REINPLACE_CMD} -i '' -e 's|/bin/perl|${perl_CMD}|' ${WRKSRC}/bin/WebStone-common.pl
+
pre-configure:
@${RM} -f ${WRKSRC}/src/config.cache