[41717] trunk/dports/devel/m4
nox at macports.org
nox at macports.org
Sun Nov 9 12:23:44 PST 2008
Revision: 41717
http://trac.macports.org/changeset/41717
Author: nox at macports.org
Date: 2008-11-09 12:23:43 -0800 (Sun, 09 Nov 2008)
Log Message:
-----------
m4: Updated to 1.4.12.
Modified Paths:
--------------
trunk/dports/devel/m4/Portfile
Added Paths:
-----------
trunk/dports/devel/m4/files/
trunk/dports/devel/m4/files/patch-test-c-stack2.sh.diff
Modified: trunk/dports/devel/m4/Portfile
===================================================================
--- trunk/dports/devel/m4/Portfile 2008-11-09 19:12:14 UTC (rev 41716)
+++ trunk/dports/devel/m4/Portfile 2008-11-09 20:23:43 UTC (rev 41717)
@@ -3,7 +3,7 @@
PortSystem 1.0
name m4
-version 1.4.11
+version 1.4.12
categories devel
maintainers blair openmaintainer
platforms darwin
@@ -21,10 +21,12 @@
master_sites gnu
use_bzip2 yes
-checksums md5 96ec473c2a6f203976c028e896a01b28 \
- sha1 25069c7d6c6861cbaf36d1b5a3a5876c1ac55584 \
- rmd160 a5cccd149b46b68a465ad35b057e947016ff7d0d
+checksums md5 b3587c993523dd320c318ec456876839 \
+ sha1 445da514bd9012690e2cf60170b16962787d2256 \
+ rmd160 ff55d95da2a52e9a9b8f5bb76072e1b08318ba2a
+patchfiles patch-test-c-stack2.sh.diff
+
configure.args --program-prefix=g
use_parallel_build yes
@@ -43,12 +45,11 @@
test.target check
test.env TMPDIR=/tmp
-variant with_default_names {
+variant with_default_names description {Install files without 'g' prefix} {
post-destroot {
- foreach d {bin share/info share/man/man1} {
- foreach a [glob -directory ${destroot}${prefix}/$d -tail g*] {
- regexp g(.+) $a dummy b
- file link -hard ${destroot}${prefix}/$d/$b ${destroot}${prefix}/$d/g$b
+ foreach {d} {bin share/man/man1} {
+ foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} g*] {
+ ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 1 end]
}
}
}
Added: trunk/dports/devel/m4/files/patch-test-c-stack2.sh.diff
===================================================================
--- trunk/dports/devel/m4/files/patch-test-c-stack2.sh.diff (rev 0)
+++ trunk/dports/devel/m4/files/patch-test-c-stack2.sh.diff 2008-11-09 20:23:43 UTC (rev 41717)
@@ -0,0 +1,11 @@
+--- tests/test-c-stack2.sh.orig 2008-11-09 21:00:26.000000000 +0100
++++ tests/test-c-stack2.sh 2008-11-09 21:01:10.000000000 +0100
+@@ -25,7 +25,7 @@
+ ;;
+ 0) (exit 1); exit 1 ;;
+ esac
+-if grep 'program error' t-c-stack2.tmp >/dev/null ; then
++if grep 'Bus error' t-c-stack2.tmp >/dev/null ; then
+ :
+ else
+ (exit 1); exit 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081109/b95c769f/attachment.html>
More information about the macports-changes
mailing list