From a9ffecce4301316de82e74f52e7f7652bdf16c58 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 28 Oct 2011 07:13:18 +0200 Subject: [PATCH] xbps-src: move CONFIGURE_SHARED_ARGS to the correct place. --- xbps-src/helpers/gnu-configure.sh | 4 ---- xbps-src/shutils/configure_funcs.sh | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/xbps-src/helpers/gnu-configure.sh b/xbps-src/helpers/gnu-configure.sh index d9a0911903..771152ce53 100644 --- a/xbps-src/helpers/gnu-configure.sh +++ b/xbps-src/helpers/gnu-configure.sh @@ -5,10 +5,6 @@ # This variable can be used for packages wanting to use common arguments # to GNU configure scripts. # -export CONFIGURE_SHARED_ARGS="--prefix=/usr --sysconfdir=/etc \ - --infodir=/usr/share/info --mandir=/usr/share/man \ - --localstatedir=/var" - do_configure() { [ -z "$configure_script" ] && configure_script="./configure" ${configure_script} ${CONFIGURE_SHARED_ARGS} ${configure_args} diff --git a/xbps-src/shutils/configure_funcs.sh b/xbps-src/shutils/configure_funcs.sh index 674d3df43d..fb4e26cd2f 100644 --- a/xbps-src/shutils/configure_funcs.sh +++ b/xbps-src/shutils/configure_funcs.sh @@ -27,6 +27,9 @@ # Runs the "configure" phase for a pkg. This setups the Makefiles or any # other stuff required to be able to build binaries or such. # +export CONFIGURE_SHARED_ARGS="--prefix=/usr --sysconfdir=/etc \ + --infodir=/usr/share/info --mandir=/usr/share/man \ + --localstatedir=/var" configure_src_phase() {