aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/msyslog
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-06-30 20:19:18 +0800
committervs <vs@FreeBSD.org>2004-06-30 20:19:18 +0800
commitfbf166fc85c75ca70b4db1de32afacf6723187bb (patch)
treec449738bfe7f995d39e04d2712475a162b33b888 /sysutils/msyslog
parent8cc278a167bd4a8e37076ead05be64940dcb8b2a (diff)
downloadfreebsd-ports-graphics-fbf166fc85c75ca70b4db1de32afacf6723187bb.tar.gz
freebsd-ports-graphics-fbf166fc85c75ca70b4db1de32afacf6723187bb.tar.zst
freebsd-ports-graphics-fbf166fc85c75ca70b4db1de32afacf6723187bb.zip
Log to /var/run/log instead of /dev/log.
(bump PORTREVISION) PR: ports/55237 Submitted by: Janos Mohacsi
Diffstat (limited to 'sysutils/msyslog')
-rw-r--r--sysutils/msyslog/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/msyslog/Makefile b/sysutils/msyslog/Makefile
index be15f7840ad..4766fa2aadd 100644
--- a/sysutils/msyslog/Makefile
+++ b/sysutils/msyslog/Makefile
@@ -7,7 +7,7 @@
PORTNAME= msyslog
PORTVERSION= 1.08f
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://www.corest.com/download/msyslog/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -65,6 +65,12 @@ pre-patch:
${WRKSRC}/${f}
.endfor
+post-patch:
+.for f in README src/syslogd.c src/man/im_file.8 src/man/im_streams.8 \
+ src/man/im_unix.8 src/man/syslogd.8 src/modules/im_streams.c src/modules/im_unix.c
+ ${REINPLACE_CMD} -e "s|/dev/log|/var/run/log|" ${WRKSRC}/${f}
+.endfor
+
post-install:
${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/examples/msyslog
${INSTALL_DATA} ${WRKSRC}/src/examples/* \