git: 3f360912cd9b - main - sysutils/rsyslog8: delete unnecessary code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Mar 2022 07:10:40 UTC
The branch main has been updated by matthew:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3f360912cd9b55a1fe132aabad3d6c96c7a0f354
commit 3f360912cd9b55a1fe132aabad3d6c96c7a0f354
Author: Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2022-03-08 07:04:52 +0000
Commit: Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2022-03-08 07:10:34 +0000
sysutils/rsyslog8: delete unnecessary code
Remove USE_LDCONFIG -- the port installs a number of loadable modules
for its own use. These are not shared libraries that ldconfig(8)
needs to deal with. (1)
Remove REINPLACE_CMD lines that no longer do anything. The library
path compiled into the code is set from autoconfig nowadays.
PR: 262393 (1)
Reported by: mikael
---
sysutils/rsyslog8/Makefile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sysutils/rsyslog8/Makefile b/sysutils/rsyslog8/Makefile
index 7207d5c10f8f..b7d2f5dcd797 100644
--- a/sysutils/rsyslog8/Makefile
+++ b/sysutils/rsyslog8/Makefile
@@ -1,5 +1,6 @@
PORTNAME= rsyslog
PORTVERSION= 8.2202.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
@@ -17,7 +18,6 @@ LIB_DEPENDS= libestr.so:devel/libestr \
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR}
USES= cpe libtool pkgconfig autoreconf python:env
-USE_LDCONFIG= yes
PORTSCOUT= limit:^8\.
@@ -146,11 +146,8 @@ CONFIGURE_ARGS+= --enable-imdiag --enable-imfile --enable-impstats \
ac_cv_func_inotify_init=no ac_cv_header_sys_inotify_h=no
post-patch:
- @${REINPLACE_CMD} -e 's|/lib/rsyslog/|${PREFIX}/lib/rsyslog/|'\
- ${WRKSRC}/tools/syslogd.c
@${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
@${FIND} ${WRKSRC} -name '*.bak' -delete
post-install: