From owner-freebsd-current@FreeBSD.ORG Fri Nov 27 05:49:42 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52050106566C for ; Fri, 27 Nov 2009 05:49:42 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0B88FC17 for ; Fri, 27 Nov 2009 05:49:41 +0000 (UTC) Received: by iwn36 with SMTP id 36so747958iwn.3 for ; Thu, 26 Nov 2009 21:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=FthNPnZOZyPV+yxUU0HSUY2tAmeMVIMUdt/xd6fyLfg=; b=bl4XvnpZ93l8fb0QVoZ1MB2GDTdgeWYWfll5MBVnS+YVGD4ktH6R1lrFLzpbHTUtx0 PHVegXxzSFhWLpv7Sl9HsnuWuVBx5XAdsNhudO1CFWgrRmYHNX2A5Hqvo+FOFzlQxHVD yV2eNmolTHHxeXZ3ksgkCXmYUhMETvrOxIkQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vgSOeH0Umk6ptGEAxsxzglMgHdW2RmFBKN6Y6Re243if9WxLxg7V0WfqAnjUvG+mJ2 D9BTSTgSad1f5AV2WhGV1uezC5N9GnMwlV/0ClDiSY3e0s4cI/ljC/7ZY6Rn7f1MDFY4 QpaJ+8s9rtoMyStm1S+/A5vSIaYl/l08wHHy4= MIME-Version: 1.0 Received: by 10.231.167.65 with SMTP id p1mr1508422iby.20.1259300981219; Thu, 26 Nov 2009 21:49:41 -0800 (PST) In-Reply-To: <4B0F244A.60404@infracaninophile.co.uk> References: <4B0E57CC.7050509@infracaninophile.co.uk> <4B0F244A.60404@infracaninophile.co.uk> Date: Thu, 26 Nov 2009 23:49:41 -0600 Message-ID: <790a9fff0911262149q2ccc91ecw23b89e067ef654ff@mail.gmail.com> From: Scot Hetzel To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: Building RELENG_8_0 confused by openldap. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2009 05:49:42 -0000 On 11/26/09, Matthew Seaman wrote: > Still, ipropd-{master,slave} end up linked against the LDAP shlibs > installed > from ports which seems wrong to me, at least not without having to > expressly > set make variables to turn that behaviour on. > > % ldd /usr/libexec/ipropd-master /usr/libexec/ipropd-master: > libkadm5srv.so.10 => /usr/lib/libkadm5srv.so.10 (0x80064b000) > libhdb.so.10 => /usr/lib/libhdb.so.10 (0x80075a000) > libkrb5.so.10 => /usr/lib/libkrb5.so.10 (0x800876000) > libhx509.so.10 => /usr/lib/libhx509.so.10 (0x8009e3000) > libroken.so.10 => /usr/lib/libroken.so.10 (0x800b22000) > libasn1.so.10 => /usr/lib/libasn1.so.10 (0x800c33000) > libcrypto.so.6 => /lib/libcrypto.so.6 (0x800db2000) > libcrypt.so.5 => /lib/libcrypt.so.5 (0x80104b000) > libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x801164000) > libldap-2.4.so.7 => /usr/local/lib/libldap-2.4.so.7 > (0x801266000) > liblber-2.4.so.7 => /usr/local/lib/liblber-2.4.so.7 > (0x8013a4000) > libc.so.7 => /lib/libc.so.7 (0x8014b1000) > libssl.so.6 => /usr/lib/libssl.so.6 (0x8016e7000) > Have a look at src/kerberos5/Makefile.inc. This files adds the dependancy on OpenLDAP when WITH_OPENLDAP is defined. Do you have WITH_OPENLDAP defined in /etc/make.conf? One way to prevent Ports configuration variables from affecting the build of the FreeBSD src is to use ports-mgmt/portconf, and put those variables in /usr/local/etc/ports.conf file. Scot