Date: Thu, 18 Aug 2005 17:46:49 +0200 (CEST) From: Petr Holub <hopet@ics.muni.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/85211: [PATCH] xmlada patch to avoid interaction with CLFAGS Message-ID: <200508181546.j7IFknMn020088@kloboucek.ics.muni.cz> Resent-Message-ID: <200508221020.j7MAKAZn031565@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85211 >Category: ports >Synopsis: [PATCH] xmlada 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:10 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: xmlada 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: --- xmlada.patch2 begins here --- diff -ruN xmlada.orig/Makefile xmlada/Makefile --- xmlada.orig/Makefile Fri Apr 1 01:32:37 2005 +++ xmlada/Makefile Thu Aug 18 17:31:34 2005 @@ -7,7 +7,7 @@ PORTNAME= xmlada PORTVERSION= 0.7.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= http://libre.act-europe.fr/xmlada/ DISTNAME= XmlAda-${PORTVERSION} @@ -27,6 +27,9 @@ USE_GMAKE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes + +ADACFLAGS?= +CFLAGS=${ADACFLAGS} INFO= xmlada PORTDOCS= xml.html xml_1.html xml_2.html xml_3.html xml_4.html \ --- xmlada.patch2 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.j7IFknMn020088>