package/polkit: properly autoreconf
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 4 Apr 2020 13:08:12 +0000 (15:08 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 7 Apr 2020 06:11:15 +0000 (08:11 +0200)
commit8edcb8473001032e3ea6f162784b2f24db88decc
treeecf2225e99ed1951bd867fb1d9aff64d6e6883f4
parentca782384a09a8a9ff41bdd5cc960280162699512
package/polkit: properly autoreconf

0001-make-netgroup-support-optional.patch patches configure.ac, but we
don't autoreconf the package, which is not good.

However, simply adding AUTORECONF = YES is not sufficient: polkit
Makefile.am use the automake conditional HAVE_INTROSPECTION, which is
"available" only when the gobject-introspection m4 file is installed.

Since we don't want to make gobject-introspection a mandatory
dependency of polkit, we take a simpler route: add a copy of
introspection.m4 into the polkit source tree. This is only a 142 lines
file, and it can be dropped when
0001-make-netgroup-support-optional.patch is merged upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/polkit/0001-make-netgroup-support-optional.patch
package/polkit/polkit.mk