From 83b408d844be59927b1edf74df877df03e684e50 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 1 Jul 2014 13:26:41 +0000 Subject: [PATCH] Fix build with readline from ports Convert to USES=libtool Strip using autotool targets --- www/varnish/Makefile | 7 ++++--- www/varnish/pkg-plist | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/www/varnish/Makefile b/www/varnish/Makefile index 2779c4b1959d..42e7733dc561 100644 --- a/www/varnish/Makefile +++ b/www/varnish/Makefile @@ -2,7 +2,7 @@ PORTNAME= varnish PORTVERSION= 3.0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://repo.varnish-cache.org/source/ @@ -16,15 +16,16 @@ LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre CONFLICTS= varnish-2.* GNU_CONFIGURE= yes -USES= gmake pkgconfig +USES= gmake libtool readline pkgconfig USE_PYTHON_BUILD= yes CONFIGURE_ARGS= --localstatedir=${PREFIX} --enable-tests CONFIGURE_ENV= RST2MAN=true USE_LDCONFIG= yes -USE_AUTOTOOLS= aclocal libtool libtoolize automake autoconf +USE_AUTOTOOLS= aclocal libtoolize automake autoconf ACLOCAL_ARGS= -I m4 LIBTOOLFLAGS= --copy --force --disable-static AUTOMAKE_ARGS= --add-missing --copy --foreign +INSTALL_TARGET= install-strip USE_RC_SUBR= varnishd varnishlog varnishncsa SUB_FILES= pkg-message diff --git a/www/varnish/pkg-plist b/www/varnish/pkg-plist index b932a2d4a937..482af6f24d75 100644 --- a/www/varnish/pkg-plist +++ b/www/varnish/pkg-plist @@ -42,6 +42,7 @@ lib/varnish/libvarnishcompat.so lib/varnish/libvcl.so lib/varnish/libvgz.so lib/varnish/vmods/libvmod_std.so +lib/libvarnishapi.so.1.0.0 lib/libvarnishapi.so.1 lib/libvarnishapi.so libdata/pkgconfig/varnishapi.pc