summaryrefslogtreecommitdiff
path: root/devel/libtool24
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libtool24')
-rw-r--r--devel/libtool24/Makefile20
-rw-r--r--devel/libtool24/distinfo6
-rw-r--r--devel/libtool24/files/patch-libltdl_config_ltmain.sh4
3 files changed, 19 insertions, 11 deletions
diff --git a/devel/libtool24/Makefile b/devel/libtool24/Makefile
index 6bc23f393c68..949e0de17534 100644
--- a/devel/libtool24/Makefile
+++ b/devel/libtool24/Makefile
@@ -6,24 +6,32 @@
#
PORTNAME?= libtool
-PORTVERSION= 2.2.6b
+PORTVERSION= 2.2.10
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
DISTNAME= libtool-${PORTVERSION}
-EXTRACT_SUFX= .tar.lzma
-MAINTAINER= kwm@FreeBSD.org
+MAINTAINER= autotools@FreeBSD.org
COMMENT?= Generic shared library support script
-WRKSRC= ${WRKDIR}/libtool-${PORTVERSION:S|a||}
-USE_XZ= yes
+LICENSE?= GPLv2
+LICENSE_FILE?= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS?= --disable-ltdl-install
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
INFO?= libtool
+.if ${PORTNAME} != "libltdl"
+MAN1= libtool.1 libtoolize.1
+.endif
post-patch:
- ${REINPLACE_CMD} -e 's|sed gsed|sed|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|sed gsed|sed|g' \
+ -e 's|CC=cc|CC=${CC}|g' \
+ ${WRKSRC}/configure ${WRKSRC}/libltdl/configure
+
+post-configure:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
.include <bsd.port.mk>
diff --git a/devel/libtool24/distinfo b/devel/libtool24/distinfo
index 8e297af87bff..ee1757dd9c29 100644
--- a/devel/libtool24/distinfo
+++ b/devel/libtool24/distinfo
@@ -1,3 +1,3 @@
-MD5 (libtool-2.2.6b.tar.lzma) = a4b36980765003b47dd75ac9429f4f11
-SHA256 (libtool-2.2.6b.tar.lzma) = 66ebad3c02e5cb6672bfbda1183fb6fc919d33d676eb8be4b7834aa7c3b8b7ae
-SIZE (libtool-2.2.6b.tar.lzma) = 739089
+MD5 (libtool-2.2.10.tar.gz) = b745d220e88163fcd9eea0a90ccf21b0
+SHA256 (libtool-2.2.10.tar.gz) = de7d1d028fa3be15a05b3e00fe64f80ece62636923cc9ef82dc8b9a2f3c5d77d
+SIZE (libtool-2.2.10.tar.gz) = 2439628
diff --git a/devel/libtool24/files/patch-libltdl_config_ltmain.sh b/devel/libtool24/files/patch-libltdl_config_ltmain.sh
index 8dc8434921eb..ad0599710598 100644
--- a/devel/libtool24/files/patch-libltdl_config_ltmain.sh
+++ b/devel/libtool24/files/patch-libltdl_config_ltmain.sh
@@ -6,8 +6,8 @@
$opt_debug
+
+ # FreeBSD-specific: where we install compilers with non-standard names
-+ tag_compilers_CC="*cc cc* *gcc gcc*"
-+ tag_compilers_CXX="*c++ c++* *g++ g++*"
++ 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