Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4d340bc4427805842d3e357fcb3ae937a9db49b9

commit 4d340bc4427805842d3e357fcb3ae937a9db49b9
Author: Michel Hermier <herm...@frugalware.org>
Date:   Tue Jun 23 14:23:40 2009 +0200

gcc-4.4.0-4-i686

* Add USE_LANGS so that we can disable all the languages all at once.
* Remove USE_TREELANG, the language is removed since 4.3.0.

diff --git a/source/devel/gcc/FrugalBuild b/source/devel/gcc/FrugalBuild
index 0acab99..f33a3ba 100644
--- a/source/devel/gcc/FrugalBuild
+++ b/source/devel/gcc/FrugalBuild
@@ -2,13 +2,17 @@
# Maintainer: Miklos Vajna <vmik...@frugalware.org>

USE_SHARED=${USE_SHARED:-"y"}
-USE_CXX=${USE_CXX:-"y"}
-USE_JAVA=${USE_JAVA:-"y"}
-USE_ECJ=${USE_ECJ:-"y"}
-USE_OBJC=${USE_OBJC:-"y"}
-USE_ADA=${USE_ADA:-"y"}
-USE_TREELANG=${USE_TREELANG:-"y"}
-USE_FORTRAN=${USE_FORTRAN:-"y"}
+USE_LANGS=${USE_LANGS:-"y"}
+USE_ADA=${USE_ADA:-"$USE_LANGS"}
+USE_CXX=${USE_CXX:-"$USE_LANGS"}
+USE_FORTRAN=${USE_FORTRAN:-"$USE_LANGS"}
+USE_JAVA=${USE_JAVA:-"$USE_LANGS"}
+USE_ECJ=${USE_ECJ:-"$USE_JAVA"}
+USE_OBJC=${USE_OBJC:-"$USE_LANG"}
+
+# Activate required langage
+Fuse $USE_JAVA && USE_CXX="y"
+Fuse $USE_OBJC && USE_CXX="y"

pkgname=gcc
pkgver=4.4.0
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to