From 26bee6b0a5690f488de65d8590753303637e17fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 16 Oct 2015 13:27:16 +0200 Subject: [PATCH] rsyslog: fix lsb_release output parsing --- srcpkgs/rsyslog/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/rsyslog/template b/srcpkgs/rsyslog/template index 5c43332a060..223d6559437 100644 --- a/srcpkgs/rsyslog/template +++ b/srcpkgs/rsyslog/template @@ -1,7 +1,7 @@ # Template file for 'rsyslog' pkgname=rsyslog version=8.13.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--sbindir=/usr/bin --enable-gnutls --enable-mysql --enable-pgsql @@ -34,6 +34,8 @@ pre_configure() { sed -e "s,\`\$PG_CONFIG --libdir\`,\"$XBPS_CROSS_BASE/usr/lib\",g" -i configure sed -e "s,\`\$PG_CONFIG --includedir\`,\"$XBPS_CROSS_BASE/usr/include\",g" -i configure fi + # Our /usr/bin/lsb_release now prints 3 lines; use only the first one + sed -i "s;lsb_release -d;lsb_release -d|head -n1;" configure } post_install() { vsv rsyslogd