From owner-freebsd-current@FreeBSD.ORG Fri Nov 25 23:00:03 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B30616A41F for ; Fri, 25 Nov 2005 23:00:03 +0000 (GMT) (envelope-from pckizer@nostrum.com) Received: from nostrum.com (magus.nostrum.com [69.5.195.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A8C443D53 for ; Fri, 25 Nov 2005 23:00:02 +0000 (GMT) (envelope-from pckizer@nostrum.com) Received: from [10.0.1.4] (dsl081-116-173.dfw1.dsl.speakeasy.net [64.81.116.173]) (authenticated bits=0) by nostrum.com (8.12.11/8.12.11) with ESMTP id jAPMxxGD050223 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Fri, 25 Nov 2005 17:00:00 -0600 (CST) (envelope-from pckizer@nostrum.com) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <790a9fff0511250903q931b66cte7a3e6555dc38f83@mail.gmail.com> References: <20051121162544.GB94958@freebsd.czest.pl> <790a9fff0511250903q931b66cte7a3e6555dc38f83@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <96C3189B-8FA3-4EA9-9BFC-C5800FF7766F@nostrum.com> Content-Transfer-Encoding: 7bit From: Philip Kizer Date: Fri, 25 Nov 2005 16:59:59 -0600 To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.746.2) Received-SPF: pass (nostrum.com: 64.81.116.173 is authenticated by a trusted mechanism) Subject: Re: Linking basesystem with additional libraries. 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, 25 Nov 2005 23:00:03 -0000 On Nov 25, 2005, at 11:03, Scot Hetzel wrote: > What do you want to link the base system with? > Currently, the base sendmail can be linked with the > security/cyrus-sasl* ports by setting: > [...elided...] > in /etc/make.conf. You could possibly link sendmail with one of the > openldap ports also. Haven't tried it myself yet. Just to confirm, I've been using these options in make.conf for a while: > SENDMAIL_CFLAGS=-I/usr/local/include/sasl -I/usr/local/include - > DSASL=2 -DLDAPMAP > SENDMAIL_LDFLAGS=-L/usr/local/lib > SENDMAIL_LDADD=-lsasl2 -lldap -llber -lcom_err > Note: This may cause a busted sendmail, especially during a major > version upgrade. A rebuild of the security/cyrus-sasl* port, and > sendmail will fix it. I can confirm it breaks the buildworld across a major update. I just did the obvious: . comment them out of make.conf . finish the make+install+reboot . reinstall the problem libraries (sasl2/ldap/etc) . uncomment them in make.conf . re-do just the sendmail pieces > cd /usr/src/lib/libsm ; make cleandir && make obj && make && make > install > cd /usr/src/usr.sbin/sendmail ; make cleandir && make obj && make > && make install -philip