aboutsummaryrefslogtreecommitdiff
path: root/www/varnish4
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2015-03-23 16:11:53 +0000
committerMark Felder <feld@FreeBSD.org>2015-03-23 16:11:53 +0000
commit47e7958b87124d53ef12cf980e778f9e3734e40e (patch)
treead7e9b52c9a77874416aa31639f9b82a4354acf4 /www/varnish4
parentc20cc7662e75dab2c5b0adca257fcac63e201c54 (diff)
downloadports-47e7958b87124d53ef12cf980e778f9e3734e40e.tar.gz
ports-47e7958b87124d53ef12cf980e778f9e3734e40e.zip
Varnish was failing to build if devel/libedit was installed.
Add libedit as a dependency with correct CFLAGS so it builds successfuly.
Notes
Notes: svn path=/head/; revision=382012
Diffstat (limited to 'www/varnish4')
-rw-r--r--www/varnish4/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/varnish4/Makefile b/www/varnish4/Makefile
index 68fc04b8278a..649841ea79c4 100644
--- a/www/varnish4/Makefile
+++ b/www/varnish4/Makefile
@@ -2,7 +2,7 @@
PORTNAME= varnish
PORTVERSION= 4.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://repo.varnish-cache.org/source/
PKGNAMESUFFIX= 4
@@ -12,11 +12,13 @@ COMMENT= High-performance HTTP accelerator
LICENSE= BSD2CLAUSE
-LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
+LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
+ libedit.so.0:${PORTSDIR}/devel/libedit
CONFLICTS= varnish-2.* varnish-3.*
USES= autoreconf gmake libtool readline pkgconfig python:build
+CFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX} --enable-tests
CONFIGURE_ENV= RST2MAN=true