diff options
author | matthew <matthew@FreeBSD.org> | 2016-11-13 06:52:36 +0800 |
---|---|---|
committer | matthew <matthew@FreeBSD.org> | 2016-11-13 06:52:36 +0800 |
commit | c7778944fb33c993d0f422f0bdc0e9d76a58efed (patch) | |
tree | 98e1cfbba151c69565a8d0ff9f20c0c05e9a9617 | |
parent | f69f34359ac4b04576c4cc64d8634952afaba004 (diff) | |
download | freebsd-ports-gnome-c7778944fb33c993d0f422f0bdc0e9d76a58efed.tar.gz freebsd-ports-gnome-c7778944fb33c993d0f422f0bdc0e9d76a58efed.tar.zst freebsd-ports-gnome-c7778944fb33c993d0f422f0bdc0e9d76a58efed.zip |
recvmmsg(2) is buggy in 11.0-RELEASE, but not recent 11-STABLE or HEAD
-- the consequence for rsyslog being that it does not record any log
messages received via UDP to a log file.
recvmmsg(2) fix was applied to HEAD in r307036 and MFC'd to 11-STABLE
in r307311. Therefore prevent configure testing for recvmmsg(2)
before OSVERSION 1100504. Note: this is a no-op for older releases
than 11 -- recvmmsg(2) doesn't exist there.
PR: 214428
Reported by: dch@skunkwerks.at
MFH: 2016Q4
-rw-r--r-- | sysutils/rsyslog8/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/rsyslog8/Makefile b/sysutils/rsyslog8/Makefile index a0debb9bd94a..f706815dca01 100644 --- a/sysutils/rsyslog8/Makefile +++ b/sysutils/rsyslog8/Makefile @@ -2,6 +2,7 @@ PORTNAME= rsyslog PORTVERSION= 8.22.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/ @@ -120,6 +121,9 @@ post-patch: @${GREP} -rl '/etc/rsyslog.conf' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e\ 's|/etc/rsyslog.conf|${PREFIX}/etc/rsyslog.conf|' @${REINPLACE_CMD} -e 's,/lib/rsyslog,${PREFIX}/lib/rsyslog,' ${WRKSRC}/tools/syslogd.c +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100504 + @${REINPLACE_CMD} -e 's,recvmmsg ,,' ${WRKSRC}/configure.ac +.endif @${FIND} ${WRKSRC} -name '*.bak' -delete .include <bsd.port.post.mk> |