From e53ca8efe691f5dd05a316b9f880c1b7eb4713b7 Mon Sep 17 00:00:00 2001 From: steven Date: Wed, 21 Jul 2010 17:01:17 +0000 Subject: [PATCH] update gcc3 and gcc4 modules with COMPILER_VERSION instead of USE_GCC[34] --- share/man/man5/port-modules.5 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index 69ce92e23fa..0f0b127a0ee 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.57 2010/07/09 01:24:45 jmc Exp $ +.\" $OpenBSD: port-modules.5,v 1.58 2010/07/21 17:01:17 steven Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 9 2010 $ +.Dd $Mdocdate: July 21 2010 $ .Dt PORT-MODULES 5 .Os .Sh NAME @@ -379,7 +379,7 @@ do-build, do-install and post-install can be overridden in the port Makefile. .It fortran .It gcc3 -If USE_GCC3=No (defined by +If COMPILER_VERSION=gcc3 (defined by .Pa /usr/share/mk/bsd.own.mk ) , and architecture is in MODGCC3_ARCHES, then the gcc 3.3.6 compilers will be put at the front of the path. @@ -387,9 +387,10 @@ By default, only C language support is included by this module. If other languages are needed, they must be listed in MODGCC3_LANGS (e.g. c++, g77). .It gcc4 -If USE_GCC4=No (the default), and architecture is in -MODGCC4_ARCHES, then the gcc 4.2 compilers will be put at the front of -the path. +If COMPILER_VERSION=gcc4 (defined by +.Pa /usr/share/mk/bsd.own.mk ) , +and architecture is in MODGCC4_ARCHES, then the gcc 4.2 compilers +will be put at the front of the path. By default, only C language support is included by this module. If other languages are needed, they must be listed in MODGCC4_LANGS (e.g. c++, fortran). -- 2.20.1