1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net-mgmt/statsite/Makefile
Tobias Kortkamp ea5090b4aa net-mgmt/statsite: Fix build with GCC 4.2 (gnu89 by default)
/nxb-bin/usr/bin/cc  -O2 -pipe -G0 -EB -mabi=64 -msoft-float  -fno-strict-aliasing  -c ./MurmurHash3.c -o ./MurmurHash3.o
./MurmurHash3.c: In function 'MurmurHash3_x64_128':
./MurmurHash3.c:66: error: 'for' loop initial declaration used outside C99 mode

http://beefy16.nyi.freebsd.org/data/120mips64-quarterly/484420/logs/statsite-0.8.0_2.log
2018-11-09 05:08:54 +00:00

47 lines
938 B
Makefile

# $FreeBSD$
PORTNAME= statsite
PORTVERSION= 0.8.0
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= net-mgmt
MAINTAINER= rbarabas@rbarabas.info
COMMENT= C implementation of statsd
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= autoreconf python:env
GNU_CONFIGURE= yes
USE_CSTD= gnu99
USE_GITHUB= yes
GH_ACCOUNT= armon
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USERS= statsd
GROUPS= statsd
USE_RC_SUBR= statsite
OPTIONS_DEFINE= DOCS
PORTDOCS= README.md
post-patch:
@${REINPLACE_CMD} -e 's,python,${PYTHON_CMD},' \
-e 's,/usr/libexec/statsite,${DATADIR},' \
-e '/daemonize/d' \
-e '/pid_file/d' \
${WRKSRC}/rpm/statsite.conf.example
post-install:
${INSTALL_DATA} ${WRKSRC}/rpm/statsite.conf.example \
${STAGEDIR}${PREFIX}/etc/statsite.conf.sample
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>