From 505b5a6cdd337c2fd5965aa875a1a53419d62ed1 Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Tue, 22 Feb 2022 11:22:05 +0100 Subject: [PATCH] package/pkg-autotools: use /run as runtime path Since many years now, /run is the standard runstate directory for Linux systems, and Buildroot follows this standard. Encode this as the default for autotools packages. Note that the configure script bundled with a package may be generated with an older version of Autotools, that may not yet support the --runstatedir option. This will give an "Unsupported arguments" warning and the option will be ignored. We may have better luck with passing runstatedir as a variable instead of an option, but chances are that the configure script doesn't know that variant either (it wouldn't print a warning in that case). Since the warning is actually preferrable, pass it as an option after all. Signed-off-by: Norbert Lange [Arnout: pass as an option instead of an argument after all] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-autotools.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index 717ff81593..548f69cbb8 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -187,6 +187,7 @@ define $(2)_CONFIGURE_CMDS --exec-prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --runstatedir=/run \ --program-prefix="" \ --disable-gtk-doc \ --disable-gtk-doc-html \