aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2013-09-01 21:02:56 +0800
committerdecke <decke@FreeBSD.org>2013-09-01 21:02:56 +0800
commit8ef95d29610dfcabbf66318170a5589755e13914 (patch)
treec12ea9c19bf6dcd7cfbf261a50dc9fd0be84c64f
parentda80f2aa0bc64e98b045111a9a20db8eadbf6df0 (diff)
downloadfreebsd-ports-gnome-8ef95d29610dfcabbf66318170a5589755e13914.tar.gz
freebsd-ports-gnome-8ef95d29610dfcabbf66318170a5589755e13914.tar.zst
freebsd-ports-gnome-8ef95d29610dfcabbf66318170a5589755e13914.zip
- 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)
-rw-r--r--devel/libtool/Makefile1
-rw-r--r--devel/libtool/files/patch-libltdl_config_ltmain.sh4
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