ports/85211: [PATCH] xmlada patch to avoid interaction with CLFAGS
Petr Holub
hopet at ics.muni.cz
Mon Aug 22 10:20:13 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list