From bc78044598a4a989db76b38a8508188da5bfb4bd Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Sun, 1 Sep 2013 13:02:56 +0000 Subject: [PATCH] - Add support for lang/clang33 from ports which installs it's binaries as clang33 and clang++33. Right now libtool fails for various ports and aks for a "--tag" flag because it tries to detect tag based on the binary name but doesn't know about clang33. PR: ports/179809 Submitted by: myself Approved by: maintainer timeout (9 weeks) --- devel/libtool/Makefile | 1 + devel/libtool/files/patch-libltdl_config_ltmain.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile index d4af0dae476b..c6501df04119 100644 --- a/devel/libtool/Makefile +++ b/devel/libtool/Makefile @@ -7,6 +7,7 @@ PORTNAME?= libtool PORTVERSION= 2.4.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= libtool diff --git a/devel/libtool/files/patch-libltdl_config_ltmain.sh b/devel/libtool/files/patch-libltdl_config_ltmain.sh index 4bc3bf1c120a..f134ee997fe4 100644 --- a/devel/libtool/files/patch-libltdl_config_ltmain.sh +++ b/devel/libtool/files/patch-libltdl_config_ltmain.sh @@ -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