xbps-src: move CONFIGURE_SHARED_ARGS to the correct place.

This commit is contained in:
Juan RP 2011-10-28 07:13:18 +02:00
parent 0dac21fac9
commit a9ffecce43
2 changed files with 3 additions and 4 deletions

View File

@ -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}

View File

@ -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()
{