diff --git a/xbps-src/helpers/gnu-configure.sh b/xbps-src/helpers/gnu-configure.sh index d9a09119037..771152ce53a 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 674d3df43d9..fb4e26cd2f3 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() {