aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2022-03-08 07:04:52 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2022-03-08 07:10:34 +0000
commit3f360912cd9b55a1fe132aabad3d6c96c7a0f354 (patch)
tree42407d4f3d5174e7d691595d7769058a13b3ce10
parent3661915e8a57ca35dc83bf623c2c41dff9868c82 (diff)
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
-rw-r--r--sysutils/rsyslog8/Makefile5
1 files changed, 1 insertions, 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: