Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2011 20:53:53 +0200 (CEST)
From:      Niclas Zeising <niclas.zeising@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/158075: [PATCH] fix textproc/csv2xml to build with clang
Message-ID:  <201106201853.p5KIrrj5090050@vincent.daemonic.se>
Resent-Message-ID: <201106201900.p5KJ0KUM041227@freefall.freebsd.org>

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

>Number:         158075
>Category:       ports
>Synopsis:       [PATCH] fix textproc/csv2xml to build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 20 19:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Niclas Zeising
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD vincent.daemonic.se 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Apr 20 17:22:47 CEST 2011 root@vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64


	
>Description:
	textproc/csv2xml uses gcc regardless of what ${CXX} is set to.
>How-To-Repeat:
	
>Fix:

	Attached patch makes cvs2xml honour ${CXX} so that it can be built with clang.

--- textproc.cvs2xml.clangfix.diff begins here ---
Index: files/patch-src-Makefile
===================================================================
RCS file: files/patch-src-Makefile
diff -N files/patch-src-Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src-Makefile	20 Jun 2011 18:51:06 -0000
@@ -0,0 +1,9 @@
+--- src/Makefile.orig	2011-06-20 20:42:43.000000000 +0200
++++ src/Makefile	2011-06-20 20:43:02.000000000 +0200
+@@ -1,5 +1,5 @@
+ # $Id: Makefile,v 1.2 2004/11/13 14:23:33 jacob Exp $
+-COMPILER = g++
++COMPILER = ${CXX}
+ FLAGS = -g
+ TARGET = csv2xml
+ 
--- textproc.cvs2xml.clangfix.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?201106201853.p5KIrrj5090050>