freebsd-ports/security/libgcrypt/files/patch-ltmain.sh
Ying-Chieh Liao 74c43352a7 add libgcrypt 1.1.0
General purpose crypto library based on code used in GnuPG

PR:		43894
Submitted by:	Tilman Linneweh <tilman@arved.de>
2002-10-14 12:38:48 +00:00

32 lines
833 B
Bash

--- scripts/ltmain.sh.orig Wed Jul 17 15:42:41 2002
+++ scripts/ltmain.sh Wed Jul 17 15:47:36 2002
@@ -1062,8 +1062,16 @@
continue
;;
+ -pthread)
+ compile_command="$compile_command %%PTHREAD_LIBS%%"
+ finalize_command="$finalize_command %%PTHREAD_LIBS%%"
+ compiler_flags="$compiler_flags %%PTHREAD_LIBS%%"
+ continue;
+ ;;
+
-module)
module=yes
+ build_old_libs=yes
continue
;;
@@ -4247,10 +4255,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"