From: Max Khon Date: Wed, 21 Jun 2023 21:27:07 +0000 (+0100) Subject: Allow to specify YUM_BUILDDEP_FLAGS (like YUM_BUILDDEP_FLAGS="--define '_without_pyth... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ceec6b3007d910b1853ebe870a524bb689400b3;p=thirdparty%2Ffreeradius-server.git Allow to specify YUM_BUILDDEP_FLAGS (like YUM_BUILDDEP_FLAGS="--define '_without_python 1'") --- diff --git a/Makefile b/Makefile index d5868a122ae..55a970044af 100644 --- a/Makefile +++ b/Makefile @@ -514,7 +514,7 @@ rpmbuild/SOURCES/freeradius-server-$(PKG_VERSION).tar.bz2: freeradius-server-$(P @cp $< $@ rpm: rpmbuild/SOURCES/freeradius-server-$(PKG_VERSION).tar.bz2 - @if ! $(SUDO) yum-builddep -q -C --assumeno redhat/freeradius.spec 1> rpmbuild/builddep.log 2>&1; then \ + @if ! $(SUDO) yum-builddep ${YUM_BUILDDEP_FLAGS} -q -C --assumeno redhat/freeradius.spec 1> rpmbuild/builddep.log 2>&1; then \ echo "ERROR: Required dependencies not found, install them with: yum-builddep redhat/freeradius.spec"; \ cat rpmbuild/builddep.log; \ exit 1; \