[oe] [meta-oe][PATCH] syslog-ng: drop attempts to disable LFS

Khem Raj raj.khem at gmail.com
Fri Jan 13 04:35:55 UTC 2017



On 1/12/17 4:25 PM, Andre McCurdy wrote:
> 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.

Yes, moreover I think largefile support is more or less core feature now
a days.

> 
> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
> ---
>  meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
> index 0acdd73..4a66272 100644
> --- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
> +++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc
> @@ -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, at SBINDIR@,${sbindir},g' ${S}/contrib/systemd/*.service
>      sed -i -e 's, at LOCALSTATEDIR@,${localstatedir},g' ${S}/contrib/systemd/*.service
> 



More information about the Openembedded-devel mailing list