summaryrefslogtreecommitdiffstats
path: root/devel/libtool15/files
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-12-19 22:48:11 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-12-19 22:48:11 +0800
commit38f4a53b4bd178d8c83cbade3664833d427aadbd (patch)
treee5eaf4db542795affa140f3fc4c0b425252b9036 /devel/libtool15/files
parent8ce0a0b6c74df07a988bfdd69a98312b0f74b792 (diff)
downloadmarcuscom-ports-38f4a53b4bd178d8c83cbade3664833d427aadbd.tar
marcuscom-ports-38f4a53b4bd178d8c83cbade3664833d427aadbd.tar.gz
marcuscom-ports-38f4a53b4bd178d8c83cbade3664833d427aadbd.tar.bz2
marcuscom-ports-38f4a53b4bd178d8c83cbade3664833d427aadbd.tar.lz
marcuscom-ports-38f4a53b4bd178d8c83cbade3664833d427aadbd.tar.xz
marcuscom-ports-38f4a53b4bd178d8c83cbade3664833d427aadbd.tar.zst
marcuscom-ports-38f4a53b4bd178d8c83cbade3664833d427aadbd.zip
Define libltdl_cv_sys_dlopen_deplibs=yes on FreeBSD for gnucash. I am
committing this here because it needs lots of testing before ade@ will be willing to import to ports. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8082 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libtool15/files')
-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
4 files changed, 111 insertions, 0 deletions
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...
+ ;;