Fix FreeBSD dist building under buildbot.

Originally committed to SVN as r3002.
This commit is contained in:
Amar Takhar 2009-06-02 01:56:29 +00:00
parent d603ceeda9
commit bde1c68018

View file

@ -9,11 +9,12 @@ fi
# On FreeBSD "make" is PMake, so we need to use 'gmake' # On FreeBSD "make" is PMake, so we need to use 'gmake'
if test `uname -s` = "FreeBSD"; then if test `uname -s` = "FreeBSD"; then
BIN_MAKE="gmake" BIN_MAKE="gmake"
CONFIGURE_ARGS="--with-wx-config=/usr/local/bin/wxgtk2u-2.8-config"
else else
BIN_MAKE="make" BIN_MAKE="make"
fi fi
./autogen.sh || exit $? ./autogen.sh ${CONFIGURE_ARGS} || exit $?
${BIN_MAKE} distdir distdir="${DIST_NAME}" || exit $? ${BIN_MAKE} distdir distdir="${DIST_NAME}" || exit $?