summaryrefslogtreecommitdiff
path: root/graphics/swfdec/files/patch-ltmain.sh
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-06 07:45:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-06 07:45:30 +0000
commit66e1c102b4cb949943d50b89ebbb600c9e1a6351 (patch)
treec9af3134ff75e4b56a9a5964775bd9e5faa34a0e /graphics/swfdec/files/patch-ltmain.sh
parentadd libsigcx 0.6.0 (diff)
add swfdec 0.2.1
Flash Rendering Library
Notes
Notes: svn path=/head/; revision=78404
Diffstat (limited to 'graphics/swfdec/files/patch-ltmain.sh')
-rw-r--r--graphics/swfdec/files/patch-ltmain.sh41
1 files changed, 41 insertions, 0 deletions
diff --git a/graphics/swfdec/files/patch-ltmain.sh b/graphics/swfdec/files/patch-ltmain.sh
new file mode 100644
index 000000000000..e6e5cf7c8c62
--- /dev/null
+++ b/graphics/swfdec/files/patch-ltmain.sh
@@ -0,0 +1,41 @@
+--- ltmain.sh.orig Sun Apr 6 15:09:32 2003
++++ ltmain.sh Sun Apr 6 15:09:58 2003
+@@ -1065,14 +1065,14 @@
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+ ;;
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -2495,7 +2495,7 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
+ *)
+@@ -4325,10 +4325,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"