aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-12-12 04:26:45 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-12-12 04:26:45 +0800
commit7e22b22be9d2b1cb7602de7c062303a94a95d682 (patch)
tree66d457e1bee526343e7c0e23b8dc594297e18e80 /sysutils
parentd501752a9f6c70df39c8d3a61abf0e1fe4da6a39 (diff)
downloadfreebsd-ports-gnome-7e22b22be9d2b1cb7602de7c062303a94a95d682.tar.gz
freebsd-ports-gnome-7e22b22be9d2b1cb7602de7c062303a94a95d682.tar.zst
freebsd-ports-gnome-7e22b22be9d2b1cb7602de7c062303a94a95d682.zip
- Unbreak: Conditionalize the utmpx patch based on OSVERSION
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rsyslog3/Makefile7
-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