mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
06b265fa47
cc -DHAVE_CONFIG_H -I. -include config.h -I/usr/local/include/varnish -O2 -pipe -lm -fstack-protector -fno-strict-aliasing -MT check_varnish-check_varnish.o -MD -MP -MF .deps/check_varnish-check_varnish.Tpo -c -o check_varnish-check_varnish.o `test -f 'check_varnish.c' || echo './'`check_varnish.c cc: warning: -lm: 'linker' input unused check_varnish.c:199:27: error: no member named 'fmt' in 'struct VSC_desc' Reported by: pkg-fallout
34 lines
631 B
Makefile
34 lines
631 B
Makefile
# Created by: anders
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= varnish-nagios
|
|
PORTVERSION= 1.1.20140519
|
|
PORTREVISION= 0
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Nagios plugin to check status of Varnish
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
BROKEN= fails to build
|
|
|
|
BUILD_DEPENDS= varnish4>=0:${PORTSDIR}/www/varnish4
|
|
|
|
GNU_CONFIGURE= yes
|
|
CFLAGS+= -lm
|
|
|
|
USES= autoreconf libtool pkgconfig
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= varnish
|
|
GH_TAGNAME= 022fbf9
|
|
|
|
PLIST_FILES= libexec/nagios/check_varnish
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
|
${INSTALL_PROGRAM} ${WRKSRC}/check_varnish ${STAGEDIR}${PREFIX}/libexec/nagios
|
|
|
|
.include <bsd.port.mk>
|