Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2007 00:41:09 GMT
From:      Masanori OZAWA<ozawa@ongs.co.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/111021: [PATCH] lang/gdc: The error when building, was corrected.
Message-ID:  <200703300041.l2U0f9kt087495@www.freebsd.org>
Resent-Message-ID: <200703300050.l2U0o3FC021368@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111021
>Category:       ports
>Synopsis:       [PATCH] lang/gdc: The error when building, was corrected.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 30 00:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Masanori OZAWA
>Release:        FreeBSD 6.2-RELEASE
>Organization:
ONGS Inc.
>Environment:
FreeBSD mithos.ongs.co.jp 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Jan 18 20:48:07 JST 2007     root@mithos.ongs.co.jp:/usr/obj/usr/src/sys/MITHOS  i386
>Description:
- The error when building, was corrected. (FreeBSD-5, 6 amd64)
>How-To-Repeat:

>Fix:
diff -urBN gdc.orig/Makefile gdc/Makefile
--- gdc.orig/Makefile	Wed Mar 28 14:29:29 2007
+++ gdc/Makefile	Fri Mar 30 09:33:30 2007
@@ -7,6 +7,7 @@
 
 PORTNAME=	gdc
 PORTVERSION=	0.23
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GCC} \
 		${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/dgcc/g:S/$/:gdc/g}
@@ -53,7 +54,7 @@
 .endif
 
 .ifndef TARGET_GCC
-.if ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 700000 || ${ARCH} == "amd64"
 TARGET_GCC=	4.1
 .else
 TARGET_GCC=	3.4

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703300041.l2U0f9kt087495>