From 951d5ac6de280962e12603cda6288cb7362a86d8 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Tue, 25 Mar 2008 14:25:59 +0000 Subject: [PATCH] Make it possible to override configure by defining __configure --- buildpkg.functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildpkg.functions b/buildpkg.functions index 957d067..74a39ec 100644 --- a/buildpkg.functions +++ b/buildpkg.functions @@ -95,6 +95,7 @@ metainstalldir=$topinstalldir # Keep this in hard-quotes to delay expansion configure_args='--prefix=$prefix --disable-nls' +__configure="./configure" # Docdir relative to $prefix _docdir=share/doc @@ -665,7 +666,7 @@ generic_build() if [ $no_configure -eq 0 ]; then if [ $generic_configure -eq 1 ]; then - ./configure $(_upls $configure_args) + $__configure $(_upls $configure_args) else # Platform specific configure run run_configure