Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2015 16:11:53 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382012 - head/www/varnish4
Message-ID:  <201503231611.t2NGBrbx060234@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Mon Mar 23 16:11:53 2015
New Revision: 382012
URL: https://svnweb.freebsd.org/changeset/ports/382012
QAT: https://qat.redports.org/buildarchive/r382012/

Log:
  Varnish was failing to build if devel/libedit was installed.
  
  Add libedit as a dependency with correct CFLAGS so it builds
  successfuly.

Modified:
  head/www/varnish4/Makefile

Modified: head/www/varnish4/Makefile
==============================================================================
--- head/www/varnish4/Makefile	Mon Mar 23 15:46:23 2015	(r382011)
+++ head/www/varnish4/Makefile	Mon Mar 23 16:11:53 2015	(r382012)
@@ -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 accelerat
 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503231611.t2NGBrbx060234>