Revert "package/pkg-autotools.mk: only pass --runstatedir=/run if supported"

This reverts commit cc9d55e19f.

This unfortunately still breaks with packages having additional configure
scripts in subdirectories where the toplevel script supports --runstatedir,
but some of the children do not.

Fixes:
http://autobuild.buildroot.net/results/c60/c607d8062e17aa6871e30a3ad90cbd0b1b921ae1/
http://autobuild.buildroot.net/results/eef/eefa67773ccc44f3b06894bccc62af97ec15dcdb/

Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2022-09-10 12:09:12 +02:00
parent 49f661e548
commit 0d3a3e61ee

View File

@ -187,7 +187,7 @@ define $(2)_CONFIGURE_CMDS
--exec-prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
`grep -q -e '--runstatedir' configure && printf '%s' --runstatedir=/run` \
runstatedir=/run \
--program-prefix="" \
--disable-gtk-doc \
--disable-gtk-doc-html \