summaryrefslogtreecommitdiff
path: root/math/GiNaC/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-08 20:30:53 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-08 20:30:53 +0000
commitcc2ab76018b80288e53c8ff74c1ada7e5f6a2dc7 (patch)
treed624aa96600c4589b5cc522c0ba21c9954b1f552 /math/GiNaC/files
parentremove docsdir when deinstall (diff)
fix pkg-plist
PR: 32623 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=51242
Diffstat (limited to 'math/GiNaC/files')
-rw-r--r--math/GiNaC/files/patch-ltmain.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/math/GiNaC/files/patch-ltmain.sh b/math/GiNaC/files/patch-ltmain.sh
new file mode 100644
index 000000000000..a912d5a25e74
--- /dev/null
+++ b/math/GiNaC/files/patch-ltmain.sh
@@ -0,0 +1,32 @@
+--- ltmain.sh.orig Thu Nov 22 23:00:08 2001
++++ ltmain.sh Fri Dec 7 23:34:47 2001
+@@ -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
+ ;;
+@@ -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"