diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-06-08 16:57:34 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-06-08 16:57:34 +0800 |
commit | 973b30b10998d6b765d9cccf5ae35cff0cc400db (patch) | |
tree | 1aab048aeb2435e0ba9563a5162f02d7022c9c4c /devel/libtool | |
parent | e4b64cca7e43f4736287bd2b3ad2f257297f3723 (diff) | |
download | freebsd-ports-gnome-973b30b10998d6b765d9cccf5ae35cff0cc400db.tar.gz freebsd-ports-gnome-973b30b10998d6b765d9cccf5ae35cff0cc400db.tar.zst freebsd-ports-gnome-973b30b10998d6b765d9cccf5ae35cff0cc400db.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.
Diffstat (limited to 'devel/libtool')
-rw-r--r-- | devel/libtool/Makefile | 2 | ||||
-rw-r--r-- | devel/libtool/files/patch-ac | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile index 824bcceb77bf..3dfd5cf833e2 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 d84fdde59b54..3a1894e10003 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 |