[109416] trunk/dports/net/mldonkey

ryandesign at macports.org ryandesign at macports.org
Thu Aug 15 00:14:25 PDT 2013


Revision: 109416
          https://trac.macports.org/changeset/109416
Author:   ryandesign at macports.org
Date:     2013-08-15 00:14:25 -0700 (Thu, 15 Aug 2013)
Log Message:
-----------
mldonkey: revbump to rebuild with gd2 @2.1.0; patch configure script to fix detection of this gd2 version

Modified Paths:
--------------
    trunk/dports/net/mldonkey/Portfile
    trunk/dports/net/mldonkey/files/patch-config-configure.diff

Modified: trunk/dports/net/mldonkey/Portfile
===================================================================
--- trunk/dports/net/mldonkey/Portfile	2013-08-15 06:58:50 UTC (rev 109415)
+++ trunk/dports/net/mldonkey/Portfile	2013-08-15 07:14:25 UTC (rev 109416)
@@ -6,7 +6,7 @@
 
 name                mldonkey
 version             3.1.3
-revision            3
+revision            4
 categories          net
 platforms           darwin
 maintainers         nomaintainer

Modified: trunk/dports/net/mldonkey/files/patch-config-configure.diff
===================================================================
--- trunk/dports/net/mldonkey/files/patch-config-configure.diff	2013-08-15 06:58:50 UTC (rev 109415)
+++ trunk/dports/net/mldonkey/files/patch-config-configure.diff	2013-08-15 07:14:25 UTC (rev 109416)
@@ -1,7 +1,51 @@
-http://www.mail-archive.com/mldonkey-users@nongnu.org/msg03645/configure_typo_fix.diff
+https://savannah.nongnu.org/patch/?8123
+http://www.mail-archive.com/mldonkey-users@nongnu.org/msg03645.html
 --- config/configure.orig	2012-08-05 10:51:35.000000000 -0500
-+++ config/configure	2013-07-19 03:22:34.000000000 -0500
-@@ -10784,7 +10784,7 @@
++++ config/configure	2013-07-19 03:30:44.000000000 -0500
+@@ -6814,15 +6814,35 @@
+     GDMAJORVERSION=`$GDLIBCONFIG --majorversion`
+     GDMINORVERSION=`$GDLIBCONFIG --minorversion`
+     GDREVISION=`$GDLIBCONFIG --revision`
+-    if  [ $GDMAJORVERSION = 2 ] && [ $GDMINORVERSION = 0 ] && [ $GDREVISION -gt 14 ]; then
+-	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDVERSION" >&5
++    case $GDMAJORVERSION in
++        1)
++            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (found $GDVERSION)" >&5
++$as_echo "no (found $GDVERSION)" >&6; }
++            LIBGD=no
++            ;;
++        2)
++            if test $GDMINORVERSION -ge 1; then
++                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDVERSION" >&5
+ $as_echo "$GDVERSION" >&6; }
+-	LIBGD=yes
+-    else
+-	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no (found $GDVERSION)" >&5
++                LIBGD=yes
++            else
++                if test $GDREVISION -gt 14; then
++                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDVERSION" >&5
++$as_echo "$GDVERSION" >&6; }
++                    LIBGD=yes
++                else
++                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (found $GDVERSION)" >&5
+ $as_echo "no (found $GDVERSION)" >&6; }
+-	LIBGD=no
+-    fi
++                    LIBGD=no
++                fi
++            fi
++            ;;
++        *)
++            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDVERSION" >&5
++$as_echo "$GDVERSION" >&6; }
++            LIBGD=yes
++            ;;
++    esac
+   else
+     LIBGD=yes
+   fi
+@@ -10784,7 +10804,7 @@
  if test ! -z "$SCM_VERSION"; then
    printf " - SCM: %s" "$SCM_VERSION"
  fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130815/4bf113c7/attachment-0001.html>


More information about the macports-changes mailing list