summaryrefslogtreecommitdiff
path: root/textproc/gdome2/files/patch-ltmain.sh
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-02 12:23:19 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-02 12:23:19 +0000
commitca9e78b0e75f448b752017509eac6e1267996b41 (patch)
tree55ed84e729635c628e81fd53396c7b57ac210c27 /textproc/gdome2/files/patch-ltmain.sh
parentupdate and fix security/p5-Crypt-OpenPGP (diff)
upgrade to 0.7.4
Approved by: knu (maintainer)
Diffstat (limited to 'textproc/gdome2/files/patch-ltmain.sh')
-rw-r--r--textproc/gdome2/files/patch-ltmain.sh41
1 files changed, 41 insertions, 0 deletions
diff --git a/textproc/gdome2/files/patch-ltmain.sh b/textproc/gdome2/files/patch-ltmain.sh
new file mode 100644
index 000000000000..487713a3687c
--- /dev/null
+++ b/textproc/gdome2/files/patch-ltmain.sh
@@ -0,0 +1,41 @@
+--- ltmain.sh.orig Wed Apr 2 12:16:23 2003
++++ ltmain.sh Wed Apr 2 12:18:19 2003
+@@ -1043,14 +1043,14 @@
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+ ;;
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # 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*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -2441,7 +2441,7 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
+ *)
+@@ -4210,10 +4210,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"