syslog-ng: drop attempts to disable LFS

Forcefully disabling Large File Support in packages which enable it
by default is probably not the right thing to do anymore. Since the
syslog-ng configure.in file has been renamed to configure.ac, the
existing sed command would fail anyway.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andre McCurdy
2017-01-12 16:25:58 -08:00
committed by Martin Jansa
parent 726862b3f8
commit be4fe43035
@@ -56,10 +56,6 @@ PACKAGECONFIG[json] = "--enable-json,--disable-json,json-c,"
PACKAGECONFIG[tcp-wrapper] = "--enable-tcp-wrapper,--disable-tcp-wrapper,tcp-wrappers,"
PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip,"
do_configure_prepend() {
eval "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "s/-D_LARGEFILE_SOURCE//" -e "s/-D_FILE_OFFSET_BITS=64//" ${S}/configure.in', d)}"
}
do_install_prepend() {
sed -i -e 's,@SBINDIR@,${sbindir},g' ${S}/contrib/systemd/*.service
sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' ${S}/contrib/systemd/*.service