From df6eee3d95b6da0c60ceaaf77d7f98a2524bce70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 23 Jun 2021 15:45:24 -0300 Subject: [PATCH] file: actually build with seccomp. --- srcpkgs/file/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/file/template b/srcpkgs/file/template index 0154e0bc138d..b53d4331bf22 100644 --- a/srcpkgs/file/template +++ b/srcpkgs/file/template @@ -1,7 +1,7 @@ # Template file for 'file' pkgname=file version=5.40 -revision=2 +revision=3 bootstrap=yes build_style=gnu-configure configure_args="--enable-static" @@ -19,6 +19,9 @@ if [ -z "$CHROOT_READY" ]; then # If we're bootstrap from host with libseccomp installed # bootstrap will fail to install shlib required by file. configure_args+=" --disable-libseccomp" +else + configure_args+=" --enable-libseccomp" + makedepends+=" libseccomp-devel" fi if [ "$CROSS_BUILD" ]; then