Subject: pkg/28549: [RE-IMPORT] USE_IDEA conflict
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/05/2004 22:03:00
>Number:         28549
>Category:       pkg
>Synopsis:       [RE-IMPORT] USE_IDEA conflict
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 05 22:03:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
IRIX lorenz 5.3 08031225 IP20 mips
If USE_IDEA is set to YES, security/openssl is nevertheless compiled with no-idea unconditionally. Mail/cue (and maybe other packages as well) however tries to compile with IDEA support if USE_IDEA is YES. As a result, EVP_idea_cfb is not found when linking cue.

Make openssl honor USE_IDEA.

Moreover, change mail/cue/Makefile like this

 CONFIGURE_ARGS+=       --with-openssl=${SSLBASE}
-.if defined(USE_IDEA)
+.if defined(USE_IDEA) && !empty(USE_IDEA:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=       --enable-idea

in order to avoid triggering IDEA when USE_IDEA happens to be NO.