summaryrefslogtreecommitdiffstats
path: root/devel/libtool15
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libtool15')
-rw-r--r--devel/libtool15/Makefile26
-rw-r--r--devel/libtool15/distinfo3
-rw-r--r--devel/libtool15/files/patch-libltdl_acinclude.m412
-rw-r--r--devel/libtool15/files/patch-libltdl_configure12
-rw-r--r--devel/libtool15/files/patch-ltdl.m412
-rw-r--r--devel/libtool15/files/patch-ltmain.sh75
-rw-r--r--devel/libtool15/pkg-descr8
-rw-r--r--devel/libtool15/pkg-plist27
8 files changed, 175 insertions, 0 deletions
diff --git a/devel/libtool15/Makefile b/devel/libtool15/Makefile
new file mode 100644
index 000000000..a16348f4d
--- /dev/null
+++ b/devel/libtool15/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: libtool
+# Date created: 6 May 1998
+# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
+#
+# $FreeBSD: ports/devel/libtool15/Makefile,v 1.53 2006/05/04 21:40:52 edwin Exp $
+#
+
+PORTNAME?= libtool
+PORTVERSION= 1.5.22
+PORTREVISION?= 3
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= libtool
+DISTNAME= libtool-${PORTVERSION}
+
+MAINTAINER= ade@FreeBSD.org
+COMMENT?= Generic shared library support script
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS?= --disable-ltdl-install
+CONFIGURE_ARGS+= --infodir=${PREFIX}/info
+CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+INFO?= libtool
+
+.include <bsd.port.mk>
diff --git a/devel/libtool15/distinfo b/devel/libtool15/distinfo
new file mode 100644
index 000000000..fc660c5fb
--- /dev/null
+++ b/devel/libtool15/distinfo
@@ -0,0 +1,3 @@
+MD5 (libtool-1.5.22.tar.gz) = 8e0ac9797b62ba4dcc8a2fb7936412b0
+SHA256 (libtool-1.5.22.tar.gz) = 88e9ffaaade21c1ddaf6297723dd2fb4ca18ccaef0499a28b6e672f02c8ceb5d
+SIZE (libtool-1.5.22.tar.gz) = 2921483
diff --git a/devel/libtool15/files/patch-libltdl_acinclude.m4 b/devel/libtool15/files/patch-libltdl_acinclude.m4
new file mode 100644
index 000000000..9de2b1dd0
--- /dev/null
+++ b/devel/libtool15/files/patch-libltdl_acinclude.m4
@@ -0,0 +1,12 @@
+--- libltdl/acinclude.m4.orig Sun Dec 17 13:11:01 2006
++++ libltdl/acinclude.m4 Sun Dec 17 13:11:14 2006
+@@ -6524,6 +6524,9 @@
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
+ libltdl_cv_sys_dlopen_deplibs=yes
+ ;;
++ freebsd*)
++ libltdl_cv_sys_dlopen_deplibs=yes
++ ;;
+ gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
+ # GNU and its variants, using gnu ld.so (Glibc)
+ libltdl_cv_sys_dlopen_deplibs=yes
diff --git a/devel/libtool15/files/patch-libltdl_configure b/devel/libtool15/files/patch-libltdl_configure
new file mode 100644
index 000000000..1ba8d932f
--- /dev/null
+++ b/devel/libtool15/files/patch-libltdl_configure
@@ -0,0 +1,12 @@
+--- libltdl/configure.orig Sun Dec 17 13:08:03 2006
++++ libltdl/configure Sun Dec 17 13:08:10 2006
+@@ -21121,6 +21121,9 @@
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
+ libltdl_cv_sys_dlopen_deplibs=yes
+ ;;
++ freebsd*)
++ libltdl_cv_sys_dlopen_deplibs=yes
++ ;;
+ gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
+ # GNU and its variants, using gnu ld.so (Glibc)
+ libltdl_cv_sys_dlopen_deplibs=yes
diff --git a/devel/libtool15/files/patch-ltdl.m4 b/devel/libtool15/files/patch-ltdl.m4
new file mode 100644
index 000000000..ac2ac2be4
--- /dev/null
+++ b/devel/libtool15/files/patch-ltdl.m4
@@ -0,0 +1,12 @@
+--- ltdl.m4.orig Sun Dec 17 13:06:14 2006
++++ ltdl.m4 Sun Dec 17 13:06:46 2006
+@@ -127,6 +127,9 @@
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
+ libltdl_cv_sys_dlopen_deplibs=yes
+ ;;
++ freebsd*)
++ libltdl_cv_sys_dlopen_deplibs=yes
++ ;;
+ gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
+ # GNU and its variants, using gnu ld.so (Glibc)
+ libltdl_cv_sys_dlopen_deplibs=yes
diff --git a/devel/libtool15/files/patch-ltmain.sh b/devel/libtool15/files/patch-ltmain.sh
new file mode 100644
index 000000000..dbfac1c8e
--- /dev/null
+++ b/devel/libtool15/files/patch-ltmain.sh
@@ -0,0 +1,75 @@
+--- ltmain.sh.orig Sun Dec 18 14:14:54 2005
++++ ltmain.sh Mon Feb 20 17:37:04 2006
+@@ -228,2 +228,16 @@
+ {
++ # FreeBSD-specific: where we install compilers with non-standard names
++ tag_compilers_CC="*cc cc* *gcc gcc*"
++ tag_compilers_CXX="*c++ c++* *g++ g++*"
++ base_compiler=`set -- "$@"; echo $1`
++
++ # If $tagname isn't set, then try to infer if the default "CC" tag applies
++ if test -z "$tagname"; then
++ for zp in $tag_compilers_CC; do
++ case $base_compiler in
++ $zp) tagname="CC"; break;;
++ esac
++ done
++ fi
++
+ if test -n "$available_tags" && test -z "$tagname"; then
+@@ -268,3 +282,18 @@
+ esac
+- fi
++
++ # FreeBSD-specific: try compilers based on inferred tag
++ if test -z "$tagname"; then
++ eval "tag_compilers=\$tag_compilers_${z}"
++ if test -n "$tag_compilers"; then
++ for zp in $tag_compilers; do
++ case $base_compiler in
++ $zp) tagname=$z; break;;
++ esac
++ done
++ if test -n "$tagname"; then
++ break
++ fi
++ fi
++ fi
++ fi
+ done
+@@ -1606,2 +1635,3 @@
+ finalize_command="$finalize_command $arg"
++ deplibs="$deplibs $arg"
+ continue
+@@ -2103,2 +2133,25 @@
+ fi
++
++ case $linkmode in
++ lib)
++ deplibs="$deplib $deplibs"
++ test "$pass" = conv && continue
++ newdependency_libs="$deplib $newdependency_libs"
++ ;;
++ prog)
++ if test "$pass" = conv; then
++ deplibs="$deplib $deplibs"
++ continue
++ fi
++ if test "$pass" = scan; then
++ deplibs="$deplib $deplibs"
++ else
++ compile_deplibs="$deplib $compile_deplibs"
++ finalize_deplibs="$deplib $finalize_deplibs"
++ fi
++ ;;
++ *)
++ ;;
++ esac # linkmode
++
+ continue
+@@ -4706,2 +4759,5 @@
+ esac
++ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
+ ;;
diff --git a/devel/libtool15/pkg-descr b/devel/libtool15/pkg-descr
new file mode 100644
index 000000000..1dea88bf6
--- /dev/null
+++ b/devel/libtool15/pkg-descr
@@ -0,0 +1,8 @@
+This is GNU Libtool, a generic library support script. Libtool hides
+the complexity of using shared libraries behind a consistent, portable
+interface.
+
+To use libtool, add the new generic library building commands to your
+Makefile, Makefile.in, or Makefile.am.
+
+WWW: http://www.gnu.org/software/libtool/
diff --git a/devel/libtool15/pkg-plist b/devel/libtool15/pkg-plist
new file mode 100644
index 000000000..a31c37442
--- /dev/null
+++ b/devel/libtool15/pkg-plist
@@ -0,0 +1,27 @@
+@comment $FreeBSD: ports/devel/libtool15/pkg-plist,v 1.13 2006/02/23 10:36:03 ade Exp $
+bin/libtool
+bin/libtoolize
+share/aclocal/libtool.m4
+share/aclocal/ltdl.m4
+share/libtool/config.guess
+share/libtool/config.sub
+share/libtool/install-sh
+share/libtool/libltdl/COPYING.LIB
+share/libtool/libltdl/Makefile.am
+share/libtool/libltdl/Makefile.in
+share/libtool/libltdl/README
+share/libtool/libltdl/acinclude.m4
+share/libtool/libltdl/aclocal.m4
+share/libtool/libltdl/config-h.in
+share/libtool/libltdl/config.guess
+share/libtool/libltdl/config.sub
+share/libtool/libltdl/configure
+share/libtool/libltdl/configure.ac
+share/libtool/libltdl/install-sh
+share/libtool/libltdl/ltdl.c
+share/libtool/libltdl/ltdl.h
+share/libtool/libltdl/ltmain.sh
+share/libtool/libltdl/missing
+share/libtool/ltmain.sh
+@dirrm share/libtool/libltdl
+@dirrm share/libtool