Date: Sun, 14 Aug 2005 15:36:06 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/84926: [MAINTAINER UPDATE] emulators/generator: clean-up Message-ID: <1124044566.0@phobos.mars.bsd> Resent-Message-ID: <200508141840.j7EIeIm4082160@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1124044566.0>