Bug 74463 - security/cyrus-sasl2-saslauthd cannot be built with system OpenSSL and BDB42 on some configurations
Summary: security/cyrus-sasl2-saslauthd cannot be built with system OpenSSL and BDB42 ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hajimu UMEMOTO
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-27 22:30 UTC by NIIMI Satoshi
Modified: 2004-11-28 07:11 UTC (History)
1 user (show)

See Also:


Attachments
patch (793 bytes, patch)
2004-11-27 22:30 UTC, NIIMI Satoshi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description NIIMI Satoshi 2004-11-27 22:30:25 UTC
saslauthd/configure sets CPPFLAGS as
"-I{with_openssl}/include -I${with_bdb_incdir}"
when --with-openssl=DIR are passed.
With system OpenSSL and BDB42, CPPFLAGS is
"-I/usr/include -I/usr/local/include/db42", and the line
#include <db.h>
includes system db.h instead of BDB4.2's one.

This causes some nasty problems.

Fix: use --with-openssl=yes instead of --with-openssl=/usr for system OpenSSL.
	
How-To-Repeat: on FreeBSD 4.10-RELEASE:
cd /usr/ports/security/cyrus-sasl2-saslauthd; make WITH_BDB_VER=42
Comment 1 Hajimu UMEMOTO freebsd_committer freebsd_triage 2004-11-28 07:10:37 UTC
State Changed
From-To: open->closed

Thanks, committed! 


Comment 2 Hajimu UMEMOTO freebsd_committer freebsd_triage 2004-11-28 07:10:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ume

Thanks, committed!