Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2013 16:20:31 GMT
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181505: [ports/multimedia/dirac] Fix build error by CXX=clang
Message-ID:  <201308241620.r7OGKV9Z002156@oldred.freebsd.org>
Resent-Message-ID: <201308241630.r7OGU0TZ020155@freefall.freebsd.org>

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

>Number:         181505
>Category:       ports
>Synopsis:       [ports/multimedia/dirac] Fix build error by CXX=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:   Sat Aug 24 16:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Norikatsu Shigemura
>Release:        FreeBSD/amd64 on 10-current
>Organization:
Personal
>Environment:
FreeBSD pelsia.ninth-nine.com 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r254715M: Sat Aug 24 10:27:09 JST 2013     nork@pelsia.ninth-nine.com:/usr/obj/usr/src/sys/PELSIA  amd64
>Description:
dirac's configure tests cl* for MS-C(cl.exe), so clang doesn't compile.
>How-To-Repeat:
$ cd /usr/ports/multimedia/dirac
$ env CC=clang CXX=clang++ make
>Fix:
Please attach my patch.

Patch attached with submission follows:

Index: files/patch-configure
===================================================================
--- files/patch-configure	(revision 0)
+++ files/patch-configure	(working copy)
@@ -0,0 +1,11 @@
+--- configure.orig	2009-02-11 10:43:40.000000000 +0900
++++ configure	2013-08-25 00:52:19.194881580 +0900
+@@ -15904,6 +15904,8 @@
+ 
+ 
+ case "$CXX" in
++		clang*)
++		;;
+ 		cl*|CL*)
+ 		CXXFLAGS="-nologo -W1 -EHsc -DWIN32"
+ 		if test x"$enable_shared" = "xyes"; then


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



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