ports/84926: [MAINTAINER UPDATE] emulators/generator: clean-up

Alejandro Pulver alejandro at varnet.biz
Sun Aug 14 18:40:20 UTC 2005


>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:



More information about the freebsd-ports-bugs mailing list