summaryrefslogtreecommitdiff
path: root/security/cryptlib/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/cryptlib/files')
-rw-r--r--security/cryptlib/files/patch-makefile2
-rw-r--r--security/cryptlib/files/patch-tools_getlibs.sh11
2 files changed, 12 insertions, 1 deletions
diff --git a/security/cryptlib/files/patch-makefile b/security/cryptlib/files/patch-makefile
index 1838beb283d7..77e5ac4b40ec 100644
--- a/security/cryptlib/files/patch-makefile
+++ b/security/cryptlib/files/patch-makefile
@@ -5,7 +5,7 @@
@./tools/buildasm.sh $(AS) $(OBJPATH)
make $(DEFINES) EXTRAOBJS="$(ASMOBJS)" CFLAGS="$(CFLAGS) -DUSE_ASM \
- -fomit-frame-pointer -O3 -pthread"
-+ %%CFLAGS%% %%PTHREAD_CFLAGS%% %%PTHREAD_LIBS%%"
++ %%CFLAGS%% %%PTHREAD_CFLAGS%%"
NetBSD:
@./tools/buildasm.sh $(AS) $(OBJPATH)
make $(DEFINES) EXTRAOBJS="$(ASMOBJS)" CFLAGS="$(CFLAGS) -DUSE_ASM \
diff --git a/security/cryptlib/files/patch-tools_getlibs.sh b/security/cryptlib/files/patch-tools_getlibs.sh
new file mode 100644
index 000000000000..47154339a0f8
--- /dev/null
+++ b/security/cryptlib/files/patch-tools_getlibs.sh
@@ -0,0 +1,11 @@
+--- tools/getlibs.sh.orig Mon Nov 13 08:18:56 2006
++++ tools/getlibs.sh Mon Nov 13 08:19:14 2006
+@@ -92,7 +92,7 @@
+ echo "" ;;
+
+ 'FreeBSD'|'NetBSD')
+- echo "-lpthread" ;;
++ echo "%%PTHREAD_LIBS%%" ;;
+
+ 'HP-UX')
+ case `uname -r | sed 's/^[A-Z].//' | cut -f 1 -d '.'` in