blob: 24cfc3fdd513b3b3d9738c5a5bb7a8b0f938b25c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
PORTNAME= libvmod-dynamic
PORTVERSION= 20201026
CATEGORIES= www
PKGNAMEPREFIX= varnish-
MAINTAINER= zi@FreeBSD.org
COMMENT= Varnish Module (vmod) for dynamic backends
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_FreeBSD_13= ld: error: duplicate symbol: objects
BROKEN_FreeBSD_14= ld: error: duplicate symbol: objects
LIB_DEPENDS= libgetdns.so:dns/getdns
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
USES= autoreconf compiler:c11 gmake libtool pkgconfig \
python:3.5+,build varnish:6
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
INSTALL_TARGET= install-strip
DOCSDIR= ${PREFIX}/share/doc/vmod-dynamic
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -I${WRKSRC}/src
USE_GITHUB= yes
GH_ACCOUNT= nigoroll
GH_TAGNAME= 7a699ef
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} 's|$${VARNISHAPI_DATAROOTDIR}|${LOCALBASE}/share|' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>
|