diff options
Diffstat (limited to 'network/mldonkey/mldonkey.SlackBuild')
-rw-r--r-- | network/mldonkey/mldonkey.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild index 65ad47be5c529..b1e1040bfd2c4 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 \ |