aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3-devel/files/patch-i102181
blob: a074079aa43b2010f2d9f61f6b30be0679cb21eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- openssl/makefile.mk.orig    2009-06-11 09:05:38.000000000 +0900
+++ openssl/makefile.mk 2009-06-11 20:30:14.000000000 +0900
@@ -105,6 +105,20 @@
 .ENDIF
 .ENDIF
 
+.IF "$(OS)" == "FREEBSD"
+   PATCH_FILES=openssllnx.patch
+   ADDITIONAL_FILES:= \
+       libcrypto_OOo_0_9_8k.map \
+       libssl_OOo_0_9_8k.map
+   .IF "$(CPU)" == "X"
+       CONFIGURE_ACTION=Configure BSD-x86_64
+   .ELSE
+       CONFIGURE_ACTION=Configure BSD-x86-elf
+   .ENDIF
+   # if you build openssl as shared library you have to patch the Makefile.Shared "LD_LIBRARY_PATH=$$LD_LIBRARY_PATH \"
+   #BUILD_ACTION=make 'SHARED_LDFLAGS=-Wl,--version-script=./lib$$(SHLIBDIRS)_OOo_0_9_8e.map'
+.ENDIF
+
 .IF "$(OS)" == "WNT"
 
 .IF "$(COM)"=="GCC"