rsyslog: fix lsb_release output parsing
This commit is contained in:
parent
f65d8f7ab4
commit
26bee6b0a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue