Subject: pkg/28549: [RE-IMPORT] USE_IDEA conflict
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <georg.schwarz@netbsd.org>
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
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
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.
>How-To-Repeat:

>Fix:
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
 .endif

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