diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-06-08 08:57:34 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-06-08 08:57:34 +0000 |
commit | 609d4b4a39b99c0424989332219c8d6fe8262d94 (patch) | |
tree | ad1637e710d9946dc19a842f6a554cf74667ba83 /devel/libtool15 | |
parent | 6cc5e8e7d74d74ff9c60fb9765c4595b9fc1718f (diff) | |
download | ports-609d4b4a39b99c0424989332219c8d6fe8262d94.tar.gz ports-609d4b4a39b99c0424989332219c8d6fe8262d94.zip |
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.
Notes
Notes:
svn path=/head/; revision=60851
Diffstat (limited to 'devel/libtool15')
-rw-r--r-- | devel/libtool15/Makefile | 2 | ||||
-rw-r--r-- | devel/libtool15/files/patch-ac | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/devel/libtool15/Makefile b/devel/libtool15/Makefile index 824bcceb77bf..3dfd5cf833e2 100644 --- a/devel/libtool15/Makefile +++ b/devel/libtool15/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/libtool15/files/patch-ac b/devel/libtool15/files/patch-ac index d84fdde59b54..3a1894e10003 100644 --- a/devel/libtool15/files/patch-ac +++ b/devel/libtool15/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 |