From owner-freebsd-ports@FreeBSD.ORG Wed Apr 30 19:50:58 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F7B37B401 for ; Wed, 30 Apr 2003 19:50:58 -0700 (PDT) Received: from vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD61F43F93 for ; Wed, 30 Apr 2003 19:50:57 -0700 (PDT) (envelope-from ericx@vineyard.net) Received: from alice (alice.ericx.net [204.128.227.62]) by vineyard.net (Postfix) with SMTP id E551D91E91 for ; Wed, 30 Apr 2003 22:50:51 -0400 (EDT) Message-ID: <000701c30f8d$01ca33e0$3ee380cc@alice> From: "Eric W. Bates" To: Date: Wed, 30 Apr 2003 22:54:32 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: problem with net/openldap20 Makfile X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 02:50:58 -0000 openldap20/Makefile has a test to determine whether to build against SleepyCat db3 or db4: .if exists(${LOCALBASE}/lib/libdb4.so) On FreeBSD 4.8 (and other 4.x), ${LOCALBASE} is not defined at the time the test is run, consequently the Makefile always elects to build against db3: ** root@ethel ** /usr/ports/net/openldap20 ** Wed Apr 30 22:08:19 # make -d A Global:.MAKEFLAGS = -d Global:.MAKEFLAGS = -d A ... Searching for /lib/libdb4.so...Looking for "/lib/libdb4.so"...failed. Returning NULL Global:DB_CFLAGS = -I${LOCALBASE}/include/db3 Global:LIB_DEPENDS = db3.3:${PORTSDIR}/databases/db3 I'm not facile with make; so I don't have an elegant solution. grep'ping thru other Makefiles in ports indicates that other port'ers have elected to require that a flag be set: mail/bmf mail/cyrus-imapd2 Thank you for your time. -- Eric W. Bates