From 973b30b10998d6b765d9cccf5ae35cff0cc400db Mon Sep 17 00:00:00 2001 From: sobomax Date: Sat, 8 Jun 2002 08:57:34 +0000 Subject: Recognise ar(1) archives (.a) as a valid entities to link with. This fixes many places when it is necessary to link shared object with a static library. --- devel/libtool/Makefile | 2 +- devel/libtool/files/patch-ac | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'devel/libtool') diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile index 824bcce..3dfd5cf 100644 --- a/devel/libtool/Makefile +++ b/devel/libtool/Makefile @@ -7,7 +7,7 @@ PORTNAME= libtool PORTVERSION= 1.3.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= libtool diff --git a/devel/libtool/files/patch-ac b/devel/libtool/files/patch-ac index d84fdde..3a1894e 100644 --- a/devel/libtool/files/patch-ac +++ b/devel/libtool/files/patch-ac @@ -1,5 +1,8 @@ + +$FreeBSD$ + --- ltconfig.orig Tue Dec 7 23:50:48 1999 -+++ ltconfig Wed Sep 20 11:11:39 2000 ++++ ltconfig Sat Jun 8 11:48:12 2002 @@ -169,7 +169,7 @@ # Constants: PROGRAM=ltconfig @@ -104,15 +107,17 @@ file_magic_cmd= file_magic_test_file= deplibs_check_method='unknown' -@@ -1874,18 +1880,21 @@ +@@ -1873,19 +1879,22 @@ + version_type=freebsd-$objformat case "$version_type" in freebsd-elf*) - deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' +- deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' - file_magic_cmd=/usr/bin/file - file_magic_test_file=`echo /usr/lib/libc.so*` - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no ++ deplibs_check_method='file_magic (ELF [0-9][0-9]*-bit [LM]SB shared object|current ar archive)' ;; freebsd-*) - deplibs_check_method=unknown -- cgit v1.1