From bd64a4f18c29713b4e270a9dff7f912d13a12e58 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 26 Mar 2015 20:36:04 +0000 Subject: [PATCH] lang/gcc(46,47,48,49,5): Use OPTIONS_EXCLUDE_DragonFly to block JAVA The JAVA frontend doesn't build on DragonFly on any release. The new OPTIONS_EXCLUDE_${OPSYS} feature is a nice way to avoid the use of Makefile.DragonFly (most are in dports, but one is in lang/gcc5). The recent addition of CXXFLAGS to lang/gcc5 prevents Makefile.DragonFly on lang/gcc5 from being removed outright. There are a couple of options available to allow its removal, but I'll need to discuss with Gerald. Approved by: DragonFly blanket --- lang/gcc46/Makefile | 1 + lang/gcc47/Makefile | 1 + lang/gcc48/Makefile | 1 + lang/gcc49/Makefile | 1 + lang/gcc5/Makefile | 1 + lang/gcc5/Makefile.DragonFly | 2 -- 6 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index a4e4ee6fdb5c..5fb7be0b73c6 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -48,6 +48,7 @@ OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA +OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 6870d6844449..c6f93eb9ec43 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -49,6 +49,7 @@ OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA +OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 310477efd17f..b17b38381594 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -52,6 +52,7 @@ OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA +OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile index 3c171e77ac57..6906343a15a6 100644 --- a/lang/gcc49/Makefile +++ b/lang/gcc49/Makefile @@ -50,6 +50,7 @@ OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA +OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile index 0adde13c2a71..d0d3eef96bc7 100644 --- a/lang/gcc5/Makefile +++ b/lang/gcc5/Makefile @@ -51,6 +51,7 @@ OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFAULT= BOOTSTRAP OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA +OPTIONS_EXCLUDE_DragonFly= JAVA BOOTSTRAP_DESC= Build using a full bootstrap .include diff --git a/lang/gcc5/Makefile.DragonFly b/lang/gcc5/Makefile.DragonFly index 5342d32b33f5..7163f7d76237 100644 --- a/lang/gcc5/Makefile.DragonFly +++ b/lang/gcc5/Makefile.DragonFly @@ -1,7 +1,5 @@ # $FreeBSD$ -OPTIONS_EXCLUDE= JAVA - # The following modification to CXXFLAGS is needed in the case of DragonFly # 4.1+ building lang/gcc5 with the gcc50 base compiler when the system # libraries were built by the gcc47 base compiler. The sys.mk file