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
This commit is contained in:
Matthew Seaman 2022-03-08 07:04:52 +00:00
parent 3661915e8a
commit 3f360912cd

View File

@ -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: