summaryrefslogtreecommitdiff
path: root/openssl/makefile.mk
diff options
context:
space:
mode:
authorRene Engelhard <rene@openoffice.org>2010-04-17 14:38:13 +0200
committerRene Engelhard <rene@openoffice.org>2010-04-17 14:38:13 +0200
commitee0b04174011ff11e70d26cd95474564739fd5e1 (patch)
tree2afe37b013b7bd8f5586865a412a1ac4d28261f6 /openssl/makefile.mk
parentb61b265e1890f97cdb5930fedc8205b83a4fd8cc (diff)
kfreebsdport01: fix openssl build on GNU/kFreeBSD
Diffstat (limited to 'openssl/makefile.mk')
-rw-r--r--openssl/makefile.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index 66bfa31a145e..42d770c95d3f 100644
--- a/openssl/makefile.mk
+++ b/openssl/makefile.mk
@@ -61,15 +61,25 @@ OUT2LIB = libssl.*
OUT2LIB += libcrypto.*
OUT2INC += include/openssl/*
+UNAME=$(shell uname)
+
.IF "$(OS)" == "LINUX" || "$(OS)" == "FREEBSD"
PATCH_FILES=openssllnx.patch
ADDITIONAL_FILES:= \
libcrypto_OOo_0_9_8l.map \
libssl_OOo_0_9_8l.map
.IF "$(CPU)" == "I"
- CONFIGURE_ACTION=Configure linux-elf
+ .IF "$(UNAME)" == "GNU/kFreeBSD"
+ CONFIGURE_ACTION=Configure debian-kfreebsd-i386
+ .ELSE
+ CONFIGURE_ACTION=Configure linux-elf
+ .ENDIF
.ELIF "$(BUILD64)" == "1"
- CONFIGURE_ACTION=Configure linux-generic64
+ .IF "$(UNAME)" == "GNU/kFreeBSD"
+ CONFIGURE_ACTION=Configure debian-kfreebsd-amd64
+ .ELSE
+ CONFIGURE_ACTION=Configure linux-generic64
+ .ENDIF
.ELSE
CONFIGURE_ACTION=Configure linux-generic32
.ENDIF