[36862] trunk/dports/devel/readline/Portfile

nox at macports.org nox at macports.org
Fri May 16 17:30:51 PDT 2008


Revision: 36862
          http://trac.macosforge.org/projects/macports/changeset/36862
Author:   nox at macports.org
Date:     2008-05-16 17:30:49 -0700 (Fri, 16 May 2008)

Log Message:
-----------
readline: patchlevel was interpreted as an octal number thus the real thing installed was readline 5.2.010 (10 = 012).

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

Modified: trunk/dports/devel/readline/Portfile
===================================================================
--- trunk/dports/devel/readline/Portfile	2008-05-16 22:44:34 UTC (rev 36861)
+++ trunk/dports/devel/readline/Portfile	2008-05-17 00:30:49 UTC (rev 36862)
@@ -6,6 +6,7 @@
 set milestone   5.2
 set patchlevel  012
 version         ${milestone}.${patchlevel}
+revision        1
 distname        ${name}-${milestone}
 categories      devel
 platforms       darwin freebsd
@@ -23,12 +24,13 @@
 homepage        http://cnswww.cns.cwru.edu/~chet/readline/rltop.html
 master_sites    gnu ftp://ftp.cwru.edu/pub/bash/
 
-patch_sites     gnu:${name}/${distname}-patches/ \
-                ftp://ftp.cwru.edu/pub/bash/${distname}-patches/
+patch_sites     gnu:${name}/${distname}-patches/
 
-set i           1
-set patchname   ${name}[join [split $milestone .] ""]
-while {$i <= $patchlevel} {
+set i 1
+set patchname ${name}[join [split $milestone .] ""]
+regexp {0*([1-9]+)} $patchlevel _ lastpatch
+
+while {$i <= $lastpatch} {
     patchfiles-append ${patchname}-[format "%03d" $i]
     incr i
 }
@@ -73,6 +75,14 @@
                 md5     7a2bf3dc7ac7680b1461a5701100e91b \
                 sha1    98e6455c36f43c67be9529612c8e4550a8273c8b \
                 rmd160  545ad0c5c5d87bfd5971a4d12b47bd75ad2f195f \
+                readline52-011 \
+                md5     ef6cef6822663470f6ac8c517c5a7ec6 \
+                sha1    d2d4cbaf85c7db1708a810fbb368e000ad81c18d \
+                rmd160  96f9ae01b83cbca082956b0c7f88679483f32728 \
+                readline52-012 \
+                md5     e3e9f441c8111589855bc363e5640f6c \
+                sha1    3322f98db5845f40ae8e16ca1eb7e0e230bc5b8e \
+                rmd160  cf6ca8ced10d2e1a6cddefeb7871820f01c1f552 \
                 readline-5.2.tar.gz \
                 md5     e39331f32ad14009b9ff49cc10c5e751 \
                 sha1    18f3412c73068509d5f491b7b4535aeaf9522834 \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080516/e10ea890/attachment.htm 


More information about the macports-changes mailing list