Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 17:46:56 +0200 (CEST)
From:      Petr Holub <hopet@ics.muni.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85210: [PATCH] gnat-glade patch to avoid interaction with CLFAGS
Message-ID:  <200508181546.j7IFku6d020116@kloboucek.ics.muni.cz>
Resent-Message-ID: <200508221020.j7MAK9nG031508@freefall.freebsd.org>

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

>Number:         85210
>Category:       ports
>Synopsis:       [PATCH] gnat-glade patch to avoid interaction with CLFAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 10:20:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Petr Holub
>Release:        FreeBSD 6.0-BETA2 i386
>Organization:
Masaryk University
>Environment:
System: FreeBSD kloboucek.ics.muni.cz 6.0-BETA2 FreeBSD 6.0-BETA2 #2: Wed Aug 17 19:46:17 CEST 2005 toor@kloboucek.ics.muni.cz:/usr/src/sys/i386/compile/KLOBOUCEK i386


>Description:
gnat-glade uses standard CFLAGS which makes it broken on 6.x because the old
GCC doesn't recognize -fno-strict-aliasing. I've introduce ADACFLAGS variable
that can be user-specified and it overwrites standard CFLAGS (as suggested by
Kris).

>How-To-Repeat:

>Fix:


--- gnat-glade.patch begins here ---
diff -ruN gnat-glade.orig/Makefile gnat-glade/Makefile
--- gnat-glade.orig/Makefile	Thu Aug 18 17:32:51 2005
+++ gnat-glade/Makefile	Thu Aug 18 17:31:39 2005
@@ -7,7 +7,7 @@
 
 PORTNAME=	gnat-glade
 PORTVERSION=	3.15p
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/glade/
 DISTNAME=	glade-${PORTVERSION}-src
@@ -28,6 +28,9 @@
 CONFIGURE_ENV=	ADA=adagcc
 USE_GMAKE=	yes
 USE_PERL5_BUILD=yes
+
+ADACFLAGS?=
+CFLAGS=${ADACFLAGS}
 
 pre-configure:
 	${PERL} -pi -e "s@aclocal\)@${ACLOCAL})@g;\
--- gnat-glade.patch ends here ---


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



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