From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 14 18:40:20 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48DFE16A41F for ; Sun, 14 Aug 2005 18:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4062D43D5C for ; Sun, 14 Aug 2005 18:40:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7EIeIkH082161 for ; Sun, 14 Aug 2005 18:40:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7EIeIm4082160; Sun, 14 Aug 2005 18:40:18 GMT (envelope-from gnats) Resent-Date: Sun, 14 Aug 2005 18:40:18 GMT Resent-Message-Id: <200508141840.j7EIeIm4082160@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alejandro Pulver" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7430B16A41F for ; Sun, 14 Aug 2005 18:35:52 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id D42B043D55 for ; Sun, 14 Aug 2005 18:35:51 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 10419 invoked from network); 14 Aug 2005 18:35:50 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 14 Aug 2005 18:35:50 -0000 Message-Id: <1124044566.0@phobos.mars.bsd> Date: Sun, 14 Aug 2005 15:36:06 -0300 From: "Alejandro Pulver" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: Subject: ports/84926: [MAINTAINER UPDATE] emulators/generator: clean-up X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 18:40:20 -0000 >Number: 84926 >Category: ports >Synopsis: [MAINTAINER UPDATE] emulators/generator: clean-up >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Aug 14 18:40:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: >Description: * Suppose GCC is 2.95 or >= 3.4.2. >How-To-Repeat: >Fix: --- generator.diff begins here --- diff -urN /usr/ports/emulators/generator/Makefile generator/Makefile --- /usr/ports/emulators/generator/Makefile Wed Jul 27 18:13:47 2005 +++ generator/Makefile Wed Aug 10 19:21:59 2005 @@ -53,28 +53,15 @@ .endif .endif -# Generator needs GCC 2.95.x or GCC >= 3.4.2 to work properly. # Generator does not automatically determine the GCC version. -.if ${OSVERSION} < 400012 -# GCC < 2.95 is in the base system. -USE_GCC= 2.95 -.endif - -.if ${OSVERSION} >= 500035 && ${OSVERSION} < 502126 -# GCC > 2.95 (3.X) && GCC < 3.4.2 is in the base system. -USE_GCC= 3.4 -.endif - -.if ${OSVERSION} < 500035 +.if defined(WITH_OPTIMIZED_CFLAGS) +. if ${OSVERSION} < 500035 CONFIGURE_ARGS+= --with-gcc=2 -.endif - -.if ${OSVERSION} >= 500035 +. elif ${OSVERSION} >= 500035 CONFIGURE_ARGS+= --with-gcc=3 -.endif - -.if defined(WITHOUT_OPTIMIZED_CFLAGS) +. endif +.else CONFIGURE_ARGS+= --without-gcc .endif --- generator.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: