From 43681ffdd2cc0d077ec35a4f346d1d26c4c05014 Mon Sep 17 00:00:00 2001 From: ponce Date: Tue, 7 Aug 2012 18:55:54 +0200 Subject: network/mldonkey: Updated for version 3.1.3. Signed-off-by: Robby Workman --- network/mldonkey/mldonkey.SlackBuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'network/mldonkey/mldonkey.SlackBuild') diff --git a/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild index 65ad47be5c..b1e1040bfd 100644 --- a/network/mldonkey/mldonkey.SlackBuild +++ b/network/mldonkey/mldonkey.SlackBuild @@ -26,7 +26,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mldonkey -VERSION=3.0.7 +VERSION=${VERSION:-3.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,7 +65,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -77,11 +77,14 @@ find . \ # OCaml 3.10/3.11 don't work with gtk1, so ingnore the gtk1 choses and let # configure to choose a proper lib. if [ "$GUIOPT" = 'yes' ]; then - GUIOPT='--enable-gui' + GUIOPT='--enable-gui=newgui2' else GUIOPT='--disable-gui' fi +# Change the O6 to something saner +sed -i "s/O6/O2/" config/Makefile.in + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3