Date: Thu, 10 Jan 2002 10:52:20 -0600 (CST) From: Sean Kelly <smkelly@zombie.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/33767: security/cyrus-sasl port broken if built with db3 Message-ID: <20020110165220.4A33866B04@edgemaster.zombie.org>
next in thread | raw e-mail | index | archive | help
>Number: 33767 >Category: ports >Synopsis: security/cyrus-sasl port broken if built with db3 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 10 09:00:07 PST 2002 >Closed-Date: >Last-Modified: >Originator: Sean Kelly >Release: FreeBSD 4.5-RC i386 >Organization: >Environment: System: FreeBSD edgemaster.zombie.org 4.5-RC FreeBSD 4.5-RC #1: Thu Jan 10 02:52:55 CST 2002 root@edgemaster.zombie.org:/usr/obj/usr/src/sys/EDGEMASTER i386 cyrus-sasl-1.5.24_8 >Description: My attempt to build /usr/ports/security/cyrus-sasl (cyrus-sasl-1.5.24_8)with only db3 support (no MySQL or LDAP) failed, as it was looking for libdb3 under the incorrect names (-ldb-3, -ldb, ...) >How-To-Repeat: Try to build security/cyrus-sasl without MySQL or LDAP support. >Fix: Apply this patch to configure.in: --- configure.in.orig Thu Jan 10 03:02:17 2002 +++ configure.in Thu Jan 10 03:07:53 2002 @@ -148,13 +148,15 @@ dnl named. arg. berkeley) AC_CHECK_HEADER(db.h, + AC_CHECK_LIB(db3, db_create, SASL_DB_LIB="-ldb3"; + dblib="berkeley", AC_CHECK_LIB(db-3, db_create, SASL_DB_LIB="-ldb-3"; dblib="berkeley", AC_CHECK_LIB(db, db_create, SASL_DB_LIB="-ldb"; dblib="berkeley", AC_CHECK_LIB(db, db_open, SASL_DB_LIB="-ldb"; dblib="berkeley", - dblib="no"))), + dblib="no")))), dblib="no") ;; gdbm) @@ -174,13 +176,15 @@ auto_detect) dnl How about berkeley db? AC_CHECK_HEADER(db.h, + AC_CHECK_LIB(db3, db_create, SASL_DB_LIB="-ldb3"; + dblib="berkeley", AC_CHECK_LIB(db-3, db_create, SASL_DB_LIB="-ldb-3"; dblib="berkeley", AC_CHECK_LIB(db, db_create, SASL_DB_LIB="-ldb"; dblib="berkeley", AC_CHECK_LIB(db, db_open, SASL_DB_LIB="-ldb"; dblib="berkeley", - dblib="no"))), + dblib="no")))), dblib="no") if test "$dblib" = no; then dnl How about ndbm? @@ -232,7 +236,7 @@ berkeley) SASL_DB_BACKEND="db_${dblib}.lo" AC_DEFINE(SASL_BERKELEYDB) - SASL_DB_LIB="-ldb" + SASL_DB_LIB="-ldb3" for db3loc in ${prefix} /usr/local /usr do if test -d ${db3loc}/include/db3; then >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020110165220.4A33866B04>