diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-23 19:57:59 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-23 19:57:59 +0000 |
| commit | cae842bacf2b26e4674d7c2c6d46cc91f05493ac (patch) | |
| tree | 5ffde29db73b3158aebf997caf8da34daaee6f76 /comms/openobex/files/patch-ltmain.sh | |
| parent | - only shared libraries should be build with -fPIC on amd64 and ia64 (diff) | |
Add openobex, a library for OBEX (Object Exchange), a protocol to exchange
a data over infrared and Bluetooth.
This port is adapted to work with FreeBSD Bluetooth stack.
PR: ports/64596
Submitted by: Guido Falsi <mad@madpilot.net>
Notes
Notes:
svn path=/head/; revision=105079
Diffstat (limited to 'comms/openobex/files/patch-ltmain.sh')
| -rw-r--r-- | comms/openobex/files/patch-ltmain.sh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/comms/openobex/files/patch-ltmain.sh b/comms/openobex/files/patch-ltmain.sh new file mode 100644 index 000000000000..8f7f0ee0ed86 --- /dev/null +++ b/comms/openobex/files/patch-ltmain.sh @@ -0,0 +1,42 @@ +--- ltmain.sh.orig Wed Oct 1 13:17:13 2003 ++++ ltmain.sh Mon Mar 22 10:54:43 2004 +@@ -1037,8 +1037,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2408,6 +2416,9 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then +@@ -4175,10 +4186,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" |
