Fix build after lang/luajit upgrade to latest version.

Bump PORTREVISION.
This commit is contained in:
Sergey A. Osokin 2015-06-02 23:58:59 +00:00
parent 402f859c5c
commit 1ea4271200
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388416
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= wrk
PORTVERSION= 4.0.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= benchmarks www
DISTNAME= ${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}

View File

@ -1,5 +1,5 @@
--- Makefile.orig 2015-03-24 13:03:52.000000000 +0300
+++ Makefile 2015-05-31 22:58:26.276469000 +0300
+++ Makefile 2015-06-02 22:37:10.831330000 +0300
@@ -1,5 +1,5 @@
-CFLAGS := -std=c99 -Wall -O2 -D_REENTRANT
-LIBS := -lpthread -lm -lcrypto -lssl
@ -38,7 +38,7 @@
$(ODIR)/bytecode.o: src/wrk.lua
@echo LUAJIT $<
- @$(SHELL) -c 'cd $(LDIR) && ./luajit -b $(CURDIR)/$< $(CURDIR)/$@'
+ $(SHELL) -c 'cd $(LDIR) && ${PREFIX}/bin/luajit -b $(CURDIR)/$< $(CURDIR)/$@'
+ $(SHELL) -c '${PREFIX}/bin/luajit -b $(CURDIR)/$< $(CURDIR)/$@'
$(ODIR)/%.o : %.c
@echo CC $<