[66437] trunk/dports/lang/g95
takeshi at macports.org
takeshi at macports.org
Tue Apr 13 02:29:44 PDT 2010
Revision: 66437
http://trac.macports.org/changeset/66437
Author: takeshi at macports.org
Date: 2010-04-13 02:29:41 -0700 (Tue, 13 Apr 2010)
Log Message:
-----------
g95: updated to 0.92
Modified Paths:
--------------
trunk/dports/lang/g95/Portfile
trunk/dports/lang/g95/files/patch-Makefile.in.diff
trunk/dports/lang/g95/files/patch-lang.opt.diff
Modified: trunk/dports/lang/g95/Portfile
===================================================================
--- trunk/dports/lang/g95/Portfile 2010-04-13 08:55:28 UTC (rev 66436)
+++ trunk/dports/lang/g95/Portfile 2010-04-13 09:29:41 UTC (rev 66437)
@@ -4,8 +4,7 @@
PortSystem 1.0
name g95
-version 0.91
-revision 3
+version 0.92
platforms darwin
categories lang
maintainers takeshi
@@ -43,9 +42,9 @@
checksums ${dcore} md5 193e0a7a471cca70e374974bc5a60137 \
${dcore} sha1 55c664b33a4dc6b2130c47da28a1d6daab732ce9 \
${dcore} rmd160 af67dc8385942450f6b27ad83a6b9e3d22f779a1 \
- ${dg95} md5 35e1852e09b69555bc07f30d0ab4b6ba \
- ${dg95} sha1 aa58510c04e357439a4bf34c54d380e9079395d5 \
- ${dg95} rmd160 f0a8325c0e930d69d2def16eaa3c6c21dfd2b5a8
+ ${dg95} md5 e2b613769f28e8e0ae6a18d02a052dae \
+ ${dg95} sha1 e6320fc80d8e388aad1fdbde53b2414353692b76 \
+ ${dg95} rmd160 ac00c4cdd6dc0b90ef865040ff338b7f2d9296d1
depends_lib port:libtool port:libiconv
@@ -71,6 +70,9 @@
reinplace "s|gcc-lib|$name|" ${worksrcpath}/libf95.a-${version}/configure
reinplace "s|CFLAGS_FOR_TARGET = -O2 \$(CFLAGS)|CFLAGS_FOR_TARGET = ${configure.cflags}|" ${workpath}/gcc-${version_gcc}/Makefile.in
reinplace "s|^stage1_cflags=\"|stage1_cflags=\"${configure.cflags} ${configure.cc_archflags} |" ${workpath}/gcc-${version_gcc}/configure
+ if {[variant_isset gcc42]} {
+ reinplace "s|named_section|get_named_section|" ${worksrcpath}/trans-decl.c
+ }
}
pre-configure {
@@ -92,6 +94,7 @@
cd ${workpath}/gcc-${version_gcc}/${name}; \
../configure --prefix=${prefix}/${gcclib} \
--enable-languages=c \
+ --disable-multilib \
--with-included-gettext \
--with-libiconv=${prefix} \
--libdir=${prefix}/lib/${name} \
Modified: trunk/dports/lang/g95/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/lang/g95/files/patch-Makefile.in.diff 2010-04-13 08:55:28 UTC (rev 66436)
+++ trunk/dports/lang/g95/files/patch-Makefile.in.diff 2010-04-13 09:29:41 UTC (rev 66437)
@@ -1,62 +1,36 @@
---- Makefile.in.orig 2009-11-12 09:16:03.000000000 +0900
-+++ Makefile.in 2009-11-12 09:17:17.000000000 +0900
-@@ -272,7 +272,9 @@
- @GCC_TRUE at f951_LDADD = @GCC_DIR@/g95/gcc/main.o @GCC_DIR@/g95/gcc/libbackend.a \
- @GCC_TRUE@ @GCC_DIR@/g95/libcpp/libcpp.a \
- @GCC_TRUE@ @GCC_DIR@/g95/libiberty/libiberty.a \
-- at GCC_TRUE@ options.o opts.o version.o ggc-page.o @LDADD0@
-+ at GCC_TRUE@ options.o opts.o version.o ggc-page.o \
-+ at GCC_DIR@/g95/gcc/libbackend.a \
-+ at LDADD0@
+--- Makefile.in.orig 2010-04-11 23:30:12.000000000 +0900
++++ Makefile.in 2010-04-11 23:32:03.000000000 +0900
+@@ -1258,7 +1258,6 @@
- @GCC_FALSE at g95_SOURCES = arith.c array.c bbt.c bigint.c bigreal.c check.c decl.c \
- @GCC_FALSE at dump.c entry.c error.c expr.c forall.c format.c g95.h imodule.c \
-@@ -1257,7 +1259,6 @@
-
install-exec-am: install-binPROGRAMS
@$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
install-html: install-html-am
-@@ -1332,32 +1333,27 @@
- mv $(bindir)/g95$(EXEEXT) $(bindir)/$(host)-g95$(EXEEXT)
-
+@@ -1335,14 +1334,9 @@
install-data-hook:
-- -ln -sf f951$(EXEEXT) @DEST_LIBDIR@/cc1
-+ -ln -sf f951$(EXEEXT) $(DESTDIR)@DEST_LIBDIR@/cc1
+ -ln -sf f951$(EXEEXT) $(DESTDIR)@DEST_LIBDIR@/cc1
if test "`uname`" = "Darwin" ; then \
- ar x /usr/lib/libgcc.a darwin-fpsave.o ; \
-- ar rs @DEST_LIBDIR@/libgcc.a darwin-fpsave.o ; \
+- ar rs $(DESTDIR)@DEST_LIBDIR@/libgcc.a darwin-fpsave.o ; \
- rm ./darwin-fpsave.o ; \
-- ranlib @DEST_LIBDIR@/libgcc_eh.a ; \
-- ranlib @DEST_LIBDIR@/libgcc.a ; \
-+ ranlib $(DESTDIR)@DEST_LIBDIR@/libgcc_eh.a ; \
-+ ranlib $(DESTDIR)@DEST_LIBDIR@/libgcc.a ; \
+ ranlib $(DESTDIR)@DEST_LIBDIR@/libgcc_eh.a ; \
+ ranlib $(DESTDIR)@DEST_LIBDIR@/libgcc.a ; \
fi
-- cp INSTALL @DEST_LIBDIR@/../../../..
-- cp G95Manual.pdf @DEST_LIBDIR@/../../../..
+- cp INSTALL $(DESTDIR)@DEST_LIBDIR@/../../../..
+- cp G95Manual.pdf $(DESTDIR)@DEST_LIBDIR@/../../../..
if test -n "`ls @GCC_DIR@/g95/gcc/libgcc_s.*`" ; then \
(cd @GCC_DIR@/g95/gcc; tar cf - libgcc_s.*) | \
-- (cd @DEST_LIBDIR@; tar xf -) ; \
-+ (cd $(DESTDIR)@DEST_LIBDIR@; tar xf -) ; \
+ (cd $(DESTDIR)@DEST_LIBDIR@; tar xf -) ; \
+@@ -1357,8 +1351,8 @@
fi
- if test -n "`ls @GCC_DIR@/g95/gcc/libunwind.*`" ; then \
- (cd @GCC_DIR@/g95/gcc; tar cf - libunwind.*) | \
-- (cd @DEST_LIBDIR@; tar xf -) ; \
-+ (cd $(DESTDIR)@DEST_LIBDIR@; tar xf -) ; \
- fi
- if test -n "`ls @GCC_DIR@/g95/gcc/libgcc_eh.*`" ; then \
- (cd @GCC_DIR@/g95/gcc; tar cf - libgcc_eh.*) | \
-- (cd @DEST_LIBDIR@; tar xf -) ; \
-+ (cd $(DESTDIR)@DEST_LIBDIR@; tar xf -) ; \
- fi
- ggc-page.o: ggc-page40.c ggc-page41.c
-- at GCC41_TRUE@ $(CC) -c -g -o ggc-page.o -I. $(CPPFLAGS) -DIN_GCC ggc-page41.c
-- at GCC41_FALSE@ $(CC) -c -g -o ggc-page.o -I. $(CPPFLAGS) -DIN_GCC ggc-page40.c
-+ at GCC41_TRUE@ $(CC) -c $(CFLAGS) -g -o ggc-page.o -I. $(CPPFLAGS) -DIN_GCC ggc-page41.c
-+ at GCC41_FALSE@ $(CC) -c $(CFLAGS) -g -o ggc-page.o -I. $(CPPFLAGS) -DIN_GCC ggc-page40.c
+ ggc-page.o: $(srcdir)/ggc-page40.c $(srcdir)/ggc-page41.c
+- at GCC41_TRUE@ $(CC) -c -g -o ggc-page.o -I. $(CPPFLAGS) -DIN_GCC $(srcdir)/ggc-page41.c
+- at GCC41_FALSE@ $(CC) -c -g -o ggc-page.o -I. $(CPPFLAGS) -DIN_GCC $(srcdir)/ggc-page40.c
++ at GCC41_TRUE@ $(CC) -c $(CFLAGS) -o ggc-page.o -I. $(CPPFLAGS) -DIN_GCC $(srcdir)/ggc-page41.c
++ at GCC41_FALSE@ $(CC) -c $(CFLAGS) -o ggc-page.o -I. $(CPPFLAGS) -DIN_GCC $(srcdir)/ggc-page40.c
- options.h options.o: lang.opt
+ options.h options.o: $(srcdir)/lang.opt
$(AWK) -f @GCC_DIR@/gcc/opt-functions.awk \
Modified: trunk/dports/lang/g95/files/patch-lang.opt.diff
===================================================================
--- trunk/dports/lang/g95/files/patch-lang.opt.diff 2010-04-13 08:55:28 UTC (rev 66436)
+++ trunk/dports/lang/g95/files/patch-lang.opt.diff 2010-04-13 09:29:41 UTC (rev 66437)
@@ -1,6 +1,6 @@
---- /Users/takeshi/g95-0.91-apple/lang.opt 2007-11-13 13:44:39.000000000 +0900
-+++ lang.opt 2009-10-25 17:53:11.000000000 +0900
-@@ -319,3 +319,7 @@
+--- lang.opt.orig 2010-04-12 06:22:53.000000000 +0900
++++ lang.opt 2010-04-12 06:22:11.000000000 +0900
+@@ -327,3 +327,7 @@
Wunset-vars
F95
Warn about unset variable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100413/75ba4024/attachment-0001.html>
More information about the macports-changes
mailing list