[36867] trunk/dports/lang/g95
takeshi at macports.org
takeshi at macports.org
Fri May 16 19:54:04 PDT 2008
Revision: 36867
http://trac.macosforge.org/projects/macports/changeset/36867
Author: takeshi at macports.org
Date: 2008-05-16 19:54:03 -0700 (Fri, 16 May 2008)
Log Message:
-----------
g95: use gcc-core 4.0.4
Modified Paths:
--------------
trunk/dports/lang/g95/Portfile
trunk/dports/lang/g95/files/patch-darwin-fallback.c.diff
trunk/dports/lang/g95/files/patch-host-darwin.c.diff
Modified: trunk/dports/lang/g95/Portfile
===================================================================
--- trunk/dports/lang/g95/Portfile 2008-05-17 02:53:46 UTC (rev 36866)
+++ trunk/dports/lang/g95/Portfile 2008-05-17 02:54:03 UTC (rev 36867)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -4,6 +5,7 @@
name g95
version 0.91
+revision 1
platforms darwin
categories lang
maintainers takeshi at macports.org
@@ -14,19 +16,20 @@
Innovations and optimizations continue to be worked on. \
Parts of the F2003 standard have been implemented in g95.
homepage http://g95.org/
-master_sites ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.0.3/:gcc \
+master_sites ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.0.4/:gcc \
ftp://anonymous%40g95.org:none@ftp.g95.org/v0.91/:g95 \
http://ftp.g95.org/v0.91/:g95
-set version_gcc 4.0.3
-set dcore gcc-core-${version_gcc}.tar.gz
+set version_gcc 4.0.4
+set dcore gcc-core-${version_gcc}.tar.bz2
+dist_subdir gcc40
set dg95 ${name}_source.tgz
set gcclib lib/gcc-lib/${os.arch}-apple-${os.platform}${os.version}/${version_gcc}
distfiles ${dcore}:gcc ${dg95}:g95
-checksums ${dcore} md5 090c507c9807e70b8404799a6fc570eb \
- ${dcore} sha1 2694281fa05ae0e39cd871fcc52745e35a2dfefc \
- ${dcore} rmd160 fd960201a888537ad84e71b72b6b1170ad94eaa0 \
+checksums ${dcore} md5 193e0a7a471cca70e374974bc5a60137 \
+ ${dcore} sha1 55c664b33a4dc6b2130c47da28a1d6daab732ce9 \
+ ${dcore} rmd160 af67dc8385942450f6b27ad83a6b9e3d22f779a1 \
${dg95} md5 35e1852e09b69555bc07f30d0ab4b6ba \
${dg95} sha1 aa58510c04e357439a4bf34c54d380e9079395d5 \
${dg95} rmd160 f0a8325c0e930d69d2def16eaa3c6c21dfd2b5a8
@@ -37,10 +40,16 @@
universal_variant no
+extract.only ${dg95}
+
pre-fetch {
- file delete ${prefix}/var/macports/distfiles/${name}/${dg95}
+ file delete ${distpath}/${dg95}
}
+post-extract {
+ system "tar jxvf ${distpath}/${dcore} -C ${workpath}"
+}
+
pre-configure {
file mkdir ${workpath}/gcc-${version_gcc}/${name}
reinplace "s|tjmp %%edx|tjmp *%%edx|" ${workpath}/gcc-${version_gcc}/gcc/config/i386/i386.c
Modified: trunk/dports/lang/g95/files/patch-darwin-fallback.c.diff
===================================================================
--- trunk/dports/lang/g95/files/patch-darwin-fallback.c.diff 2008-05-17 02:53:46 UTC (rev 36866)
+++ trunk/dports/lang/g95/files/patch-darwin-fallback.c.diff 2008-05-17 02:54:03 UTC (rev 36867)
@@ -1,5 +1,5 @@
---- ../gcc-4.0.3/gcc/config/rs6000/darwin-fallback.c.orig 2007-11-11 10:46:12.000000000 +0900
-+++ ../gcc-4.0.3/gcc/config/rs6000/darwin-fallback.c 2007-11-11 11:25:18.000000000 +0900
+--- ../gcc-4.0.4/gcc/config/rs6000/darwin-fallback.c.orig 2007-11-11 10:46:12.000000000 +0900
++++ ../gcc-4.0.4/gcc/config/rs6000/darwin-fallback.c 2007-11-11 11:25:18.000000000 +0900
@@ -261,9 +261,9 @@
};
Modified: trunk/dports/lang/g95/files/patch-host-darwin.c.diff
===================================================================
--- trunk/dports/lang/g95/files/patch-host-darwin.c.diff 2008-05-17 02:53:46 UTC (rev 36866)
+++ trunk/dports/lang/g95/files/patch-host-darwin.c.diff 2008-05-17 02:54:03 UTC (rev 36867)
@@ -1,5 +1,5 @@
---- ../gcc-4.0.3/gcc/config/rs6000/host-darwin.c.orig 2007-11-10 13:24:23.000000000 +0900
-+++ ../gcc-4.0.3/gcc/config/rs6000/host-darwin.c 2007-11-10 13:19:23.000000000 +0900
+--- ../gcc-4.0.4/gcc/config/rs6000/host-darwin.c.orig 2007-11-10 13:24:23.000000000 +0900
++++ ../gcc-4.0.4/gcc/config/rs6000/host-darwin.c 2007-11-10 13:19:23.000000000 +0900
@@ -33,10 +33,6 @@
static void segv_handler (int, siginfo_t *, void *);
static void darwin_rs6000_extra_signals (void);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080516/5d05afca/attachment-0001.htm
More information about the macports-changes
mailing list