diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/rsyslog3/Makefile | 7 | ||||
-rw-r--r-- | sysutils/rsyslog3/files/extra-patch-tools__omusrmsg.c (renamed from sysutils/rsyslog3/files/patch-tools__omusrmsg.c) | 0 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/rsyslog3/Makefile b/sysutils/rsyslog3/Makefile index b4a9e99aed7c..20f19bfa298d 100644 --- a/sysutils/rsyslog3/Makefile +++ b/sysutils/rsyslog3/Makefile @@ -16,6 +16,7 @@ SUB_FILES= pkg-message MAN8= rsyslogd.8 MAN5= rsyslog.conf.5 + CONFIGURE_ARGS+=--enable-klog --disable-static --enable-mail \ --enable-imfile --enable-imtemplate --enable-gnutls .ifdef WITH_DEBUG @@ -39,4 +40,8 @@ post-install: .include "${.CURDIR}/bsd.rsyslog.mk" -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.if ${OSVERSION} >= 900007 +EXTRA_PATCHES= ${FILESDIR}/extra-patch-tools__omusrmsg.c +.endif +.include <bsd.port.post.mk> diff --git a/sysutils/rsyslog3/files/patch-tools__omusrmsg.c b/sysutils/rsyslog3/files/extra-patch-tools__omusrmsg.c index 22235efe9b8c..22235efe9b8c 100644 --- a/sysutils/rsyslog3/files/patch-tools__omusrmsg.c +++ b/sysutils/rsyslog3/files/extra-patch-tools__omusrmsg.c |