From 6a457186a096cf949571f9cd5ff9e30f0a04e2a2 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 13 Mar 2008 03:10:05 +0200 Subject: [PATCH] beecrypt: Fixed cross-compiling by disabling C++ support (see comments) --- security/beecrypt/beecrypt.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/security/beecrypt/beecrypt.conf b/security/beecrypt/beecrypt.conf index 3b7c68ded..00b38f67e 100644 --- a/security/beecrypt/beecrypt.conf +++ b/security/beecrypt/beecrypt.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../beecrypt/beecrypt.conf +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -12,6 +13,13 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +# disable C++ support while cross-compiling because configure is complaining +# that a check for IBM's ICU library cannot be done while cross-compiling. +# TODO: We should check if we can find a more elegant way than disabling C++ +if atstage cross; then + var_append extraconfopt ' ' "--without-cplusplus" +fi + # checking if we've Java support for enabling beecrypt's Java API if [ "$JAVAHOME" ]; then var_append confopt " " "--with-java"