aboutsummaryrefslogtreecommitdiff
path: root/www/varnish-libvmod-digest/Makefile
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2016-10-26 14:15:38 +0000
committerMark Felder <feld@FreeBSD.org>2016-10-26 14:15:38 +0000
commitfc6bdea0510785c0fc13208536d72f1e1a481e1f (patch)
tree125613504f694a75a5dd106415a076575b9e5ad0 /www/varnish-libvmod-digest/Makefile
parent2a84574573e1eccad50ebfff3dce66d35d29a0be (diff)
downloadports-fc6bdea0510785c0fc13208536d72f1e1a481e1f.tar.gz
ports-fc6bdea0510785c0fc13208536d72f1e1a481e1f.zip
Introduce USES=varnish
You can now set the default version of Varnish with DEFAULT_VERSIONS to build Varnish and its modules against your desired Varnish release train. The default version of Varnish throughout the ports tree will remain as www/varnish4 until at least 2017Q1 when it will be changed in HEAD to be www/varnish5. This should allow plenty of time for migration and for stabilization of the changes in Varnish 5.x. Submitted by: vanilla
Notes
Notes: svn path=/head/; revision=424707
Diffstat (limited to 'www/varnish-libvmod-digest/Makefile')
-rw-r--r--www/varnish-libvmod-digest/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/www/varnish-libvmod-digest/Makefile b/www/varnish-libvmod-digest/Makefile
index 1abec748a537..1b6712f5b7cb 100644
--- a/www/varnish-libvmod-digest/Makefile
+++ b/www/varnish-libvmod-digest/Makefile
@@ -12,17 +12,12 @@ COMMENT= Varnish Module (vmod) for computing message digests and HMAC
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= varnish4>=4.1.0:www/varnish4 \
- rst2man:textproc/py-docutils
+BUILD_DEPENDS= rst2man:textproc/py-docutils
LIB_DEPENDS= libmhash.so:security/mhash
-RUN_DEPENDS= varnish4>=4.1.0:www/varnish4
-USES= autoreconf gmake libtool pkgconfig python:2,build
+USES= autoreconf gmake libtool pkgconfig python:2,build varnish
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
-CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
-CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
-LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USE_GITHUB= yes