[49132] trunk/dports/devel/glib2/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Fri Apr 3 23:50:03 PDT 2009


Revision: 49132
          http://trac.macports.org/changeset/49132
Author:   mcalhoun at macports.org
Date:     2009-04-03 23:50:02 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
glib2: Version update 2.18.3 -> 2.20.0.
Fixes #18054 (maintainer timeout).
See #17042 for justification of the patchfile changes in the new version.

Modified Paths:
--------------
    trunk/dports/devel/glib2/Portfile

Modified: trunk/dports/devel/glib2/Portfile
===================================================================
--- trunk/dports/devel/glib2/Portfile	2009-04-04 06:45:57 UTC (rev 49131)
+++ trunk/dports/devel/glib2/Portfile	2009-04-04 06:50:02 UTC (rev 49132)
@@ -4,7 +4,7 @@
 
 name                    glib2
 set my_name             glib
-version                 2.18.3
+version                 2.20.0
 set branch              [join [lrange [split ${version} .] 0 1] .]
 categories              devel
 maintainers             ryandesign
@@ -27,16 +27,21 @@
     ftp://ftp.gtk.org/pub/${my_name}/${branch}/
 
 checksums \
-    md5     f13996a7bd57525d796a6593f26a7771 \
-    sha1    293f639fb85ea47347eb34e122327c60ef7606e4 \
-    rmd160  cf43fbba04250becaabdb7b7f55bcdec584f019e
+    md5     05188e560dbd8bddd568e24ce10dd003 \
+    sha1    4d653ef39fd1ebe7b64217fd824dfb1bbbde7007 \
+    rmd160  fc343fab4712d20b527ee690dcbf67ff52b3f6fc
 
+# ${prefix}/include/glib-2.0/glib/gi18n.h requires -I${prefix}/opt/local/include to find libintl.h
+# See http://trac.macports.org/changeset/27148
 patchfiles \
     patch-glib-2.0.pc.in.diff \
-    patch-gutils.c.diff \
-    patch-gi18n.h.diff \
-    patch-which.diff
+    patch-gi18n.h.diff
 
+if { ${os.major} < 9 } {
+    # Prior to Leopard, which returns 0 even if it can not find the program.
+    patchfiles-append patch-which.diff
+}
+
 depends_build \
     port:pkgconfig
 
@@ -65,8 +70,7 @@
 
 platform darwin {
     patchfiles-append \
-        patch-child-test.c.diff \
-        patch-configure.diff
+        patch-child-test.c.diff
 }
 
 platform powerpc {
@@ -92,10 +96,6 @@
     }
 }
 
-platform darwin 9 {
-    patchfiles-append patch-glib_gutils.h.diff
-}
-
 livecheck.check         regex
 livecheck.url           http://ftp.gnome.org/pub/GNOME/sources/${my_name}/${branch}/?C=M&O=D
 livecheck.regex         ${my_name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/45c1ee06/attachment-0001.html>


More information about the macports-changes mailing list