summaryrefslogtreecommitdiff
path: root/security/openssl/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-26 06:54:30 +0000
committerjlam <jlam@pkgsrc.org>2004-03-26 06:54:30 +0000
commitd2bd9adbc6b28cbd14ed8a43dc88e3fd2ec89e20 (patch)
tree752c73e626d269569e5dfa2f35218839c4d8909e /security/openssl/patches
parent187f9049b9b004fb71e72dd16e1818c627df3cea (diff)
downloadpkgsrc-d2bd9adbc6b28cbd14ed8a43dc88e3fd2ec89e20.tar.gz
Allow the rehash of the certs database to not error out during the build
due to libssl.so.300 not being found by correctly setting LD_LIBRARY_PATH.
Diffstat (limited to 'security/openssl/patches')
-rw-r--r--security/openssl/patches/patch-ad13
1 files changed, 11 insertions, 2 deletions
diff --git a/security/openssl/patches/patch-ad b/security/openssl/patches/patch-ad
index 9bb3adfe483..7f552227fb4 100644
--- a/security/openssl/patches/patch-ad
+++ b/security/openssl/patches/patch-ad
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.10 2004/03/26 02:22:38 wiz Exp $
+$NetBSD: patch-ad,v 1.11 2004/03/26 06:54:30 jlam Exp $
---- apps/Makefile.ssl.orig Thu Aug 14 08:30:31 2003
+--- apps/Makefile.ssl.orig Thu Aug 14 02:30:31 2003
+++ apps/Makefile.ssl
@@ -100,11 +100,11 @@ install:
@for i in $(SCRIPTS); \
@@ -19,3 +19,12 @@ $NetBSD: patch-ad,v 1.10 2004/03/26 02:22:38 wiz Exp $
tags:
ctags $(SRC)
+@@ -138,7 +138,7 @@ $(PROGRAM): progs.h $(E_OBJ) $(PROGRAM).
+ $(RM) $(PROGRAM)
+ LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \
+ $(CC) -o $(PROGRAM) $(CFLAGS) $(PROGRAM).o $(E_OBJ) $(PEX_LIBS) $(LIBSSL) $(LIBCRYPTO) $(EX_LIBS)
+- -(cd ..; OPENSSL="`pwd`/apps/openssl"; export OPENSSL; $(PERL) tools/c_rehash certs)
++ -(cd ..; LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; OPENSSL="`pwd`/apps/openssl"; export OPENSSL; $(PERL) tools/c_rehash certs)
+
+ progs.h: progs.pl
+ $(PERL) progs.pl $(E_EXE) >progs.h