summaryrefslogtreecommitdiffstats
path: root/security/openssl-beta/files/patch-Makefile.org
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssl-beta/files/patch-Makefile.org')
-rw-r--r--security/openssl-beta/files/patch-Makefile.org42
1 files changed, 42 insertions, 0 deletions
diff --git a/security/openssl-beta/files/patch-Makefile.org b/security/openssl-beta/files/patch-Makefile.org
new file mode 100644
index 0000000..5dd4f46
--- /dev/null
+++ b/security/openssl-beta/files/patch-Makefile.org
@@ -0,0 +1,42 @@
+--- Makefile.org.orig Tue Apr 8 13:54:32 2003
++++ Makefile.org Fri Apr 11 20:01:14 2003
+@@ -191,7 +191,7 @@
+ MAKEFILE= Makefile.ssl
+ MAKE= make -f Makefile.ssl
+
+-MANDIR=$(OPENSSLDIR)/man
++MANDIR=$(MANPREFIX)/man
+ MAN1=1
+ MAN3=3
+ SHELL=/bin/sh
+@@ -274,6 +274,21 @@
+
+ build-shared: clean-shared do_$(SHLIB_TARGET) link-shared
+
++freebsd-shared:
++ for i in ${SHLIBDIRS}; do \
++ rm -f lib$$i.a lib$$i.so \
++ lib$$i.so.${SHLIBVER}; \
++ ${MAKE} CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='-fPIC ${CFLAG}' SDIRS='${SDIRS}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' DIRS=$$i clean all || exit 1; \
++ ( set -x; ${CC} -nodefaultlibs -shared -o lib$$i.so.${SHLIBVER} \
++ -Wl,-S,-soname=lib$$i.so.${SHLIBVER} \
++ -Wl,${WHOLE_ARCHIVE_FLAG} lib$$i.a ) || exit 1; \
++ rm -f lib$$i.a; (cd $$i ; ${MAKE} clean) || exit 1 ;\
++ done;
++ @set -x; \
++ for i in ${SHLIBDIRS}; do \
++ ln -s lib$$i.so.${SHLIBVER} lib$$i.so; \
++ done;
++
+ do_bsd-gcc-shared: do_gnu-shared
+ do_linux-shared: do_gnu-shared
+ do_gnu-shared:
+@@ -593,7 +608,7 @@
+ @false
+
+ libclean:
+- rm -f *.map *.so *.so.* engines/*.so *.a */lib */*/lib
++ rm -f *.map *.So *.So.* engines/*.so *.a */lib */*/lib
+
+ clean: libclean
+ rm -f shlib/*.o *.o core a.out fluff rehash.time testlog make.log cctest cctest.c
OpenPOWER on IntegriCloud