[153884] trunk/dports/lang/gcc6/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Oct 14 23:43:15 CEST 2016


Revision: 153884
          https://trac.macports.org/changeset/153884
Author:   ryandesign at macports.org
Date:     2016-10-14 14:43:14 -0700 (Fri, 14 Oct 2016)
Log Message:
-----------
gcc6: Remove Java support

It doesn't work on Intel, doesn't compile on PowerPC, and Java support
has been removed from gcc7 already.

Resolves #51388

Modified Paths:
--------------
    trunk/dports/lang/gcc6/Portfile

Modified: trunk/dports/lang/gcc6/Portfile
===================================================================
--- trunk/dports/lang/gcc6/Portfile	2016-10-14 21:34:49 UTC (rev 153883)
+++ trunk/dports/lang/gcc6/Portfile	2016-10-14 21:43:14 UTC (rev 153884)
@@ -10,6 +10,9 @@
 
 epoch               2
 version             6.2.0
+if {${name} eq ${subport}} {
+    revision        1
+}
 platforms           darwin
 categories          lang
 maintainers         mww openmaintainer
@@ -17,7 +20,7 @@
 license             {GPL-3+ Permissive}
 description         The GNU compiler collection
 long_description    The GNU compiler collection, including front ends for \
-                    C, C++, Objective-C, Objective-C++, Fortran and Java.
+                    C, C++, Objective-C, Objective-C++, and Fortran.
 
 homepage            http://gcc.gnu.org/
 master_sites        ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-${version}/ \
@@ -52,7 +55,7 @@
 
 configure.dir       ${workpath}/build
 configure.cmd       ${worksrcpath}/configure
-configure.args      --enable-languages=c,c++,objc,obj-c++,lto,fortran,java \
+configure.args      --enable-languages=c,c++,objc,obj-c++,lto,fortran \
                     --libdir=${prefix}/lib/${name} \
                     --includedir=${prefix}/include/${name} \
                     --infodir=${prefix}/share/info \
@@ -133,9 +136,6 @@
     configure.args-delete --libdir=${prefix}/lib/${name}
     configure.args-append --libdir=${prefix}/lib/libgcc
 
-    configure.args-delete --enable-languages=c,c++,objc,obj-c++,lto,fortran,java
-    configure.args-append --enable-languages=c,c++,objc,obj-c++,lto,fortran
-
     # TODO: Possibly disable bootstrap with appropriate configure flags.
     #       the problem is that libstdc++'s configure script tests for tls support
     #       using the running compiler (not gcc for which libstdc++ is being built).
@@ -224,7 +224,6 @@
             }
         }
     }
-    move ${destroot}${prefix}/lib/${name}/pkgconfig/libgcj-${major}.pc ${destroot}${prefix}/lib/pkgconfig/
 }
 
 select.group        gcc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161014/cd8224d0/attachment-0002.html>


More information about the macports-changes mailing list