Date: Fri, 21 Jun 2013 13:28:26 GMT From: Bernhard Fröhlich <decke@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179809: [PATCH] devel/libtool: Add support for lang/clang33 Message-ID: <201306211328.r5LDSQBv019357@oldred.freebsd.org> Resent-Message-ID: <201306211330.r5LDU0RD026005@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179809 >Category: ports >Synopsis: [PATCH] devel/libtool: Add support for lang/clang33 >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: Fri Jun 21 13:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Bernhard Fröhlich >Release: FreeBSD 9.1-RELEASE-p3 >Organization: >Environment: FreeBSD dev.bluelife.at 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The new lang/clang33 port installs it's binaries as clang33 and clang++33 which causes libtool to fail for various ports and ask for a "--tag" flag because it seems to detect tag based on the binary name it was called with. We already have a patch in our libtool port for that but it does not honor clang33 yet so I streamlined the patch to be similar to gcc also support further clang versions. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: devel/libtool/Makefile =================================================================== diff --git a/head/devel/libtool/Makefile b/head/devel/libtool/Makefile --- a/head/devel/libtool/Makefile (revision 321454) +++ b/head/devel/libtool/Makefile (working copy) @@ -7,6 +7,7 @@ PORTNAME?= libtool PORTVERSION= 2.4.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= libtool Index: devel/libtool/files/patch-libltdl_config_ltmain.sh =================================================================== diff --git a/head/devel/libtool/files/patch-libltdl_config_ltmain.sh b/head/devel/libtool/files/patch-libltdl_config_ltmain.sh --- a/head/devel/libtool/files/patch-libltdl_config_ltmain.sh (revision 321454) +++ b/head/devel/libtool/files/patch-libltdl_config_ltmain.sh (working copy) @@ -4,8 +4,8 @@ $opt_debug + + # FreeBSD-specific: where we install compilers with non-standard names -+ tag_compilers_CC="*cc cc* *gcc gcc* clang" -+ tag_compilers_CXX="*c++ c++* *g++ g++* clang++" ++ tag_compilers_CC="*cc cc* *gcc gcc* clang*" ++ tag_compilers_CXX="*c++ c++* *g++ g++* clang++*" + base_compiler=`set -- "$@"; echo $1` + + # If $tagname isn't set, then try to infer if the default "CC" tag applies >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306211328.r5LDSQBv019357>