From owner-freebsd-ports Wed Mar 21 11:50:13 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 51CAA37B72E for ; Wed, 21 Mar 2001 11:50:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2LJo5009407; Wed, 21 Mar 2001 11:50:05 -0800 (PST) (envelope-from gnats) Date: Wed, 21 Mar 2001 11:50:05 -0800 (PST) Message-Id: <200103211950.f2LJo5009407@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "David W. Chapman Jr." Subject: Re: ports/25967: Postfix port links against the static MySQL client library Reply-To: "David W. Chapman Jr." Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/25967; it has been noted by GNATS. From: "David W. Chapman Jr." To: , Cc: Subject: Re: ports/25967: Postfix port links against the static MySQL client library Date: Wed, 21 Mar 2001 13:49:06 -0600 if this also applies to postfix-current, could you send in a patch for that also? ----- Original Message ----- From: To: Sent: Wednesday, March 21, 2001 1:22 PM Subject: ports/25967: Postfix port links against the static MySQL client library > > >Number: 25967 > >Category: ports > >Synopsis: Postfix port links against the static MySQL client library > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-ports > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Wed Mar 21 11:40:01 PST 2001 > >Closed-Date: > >Last-Modified: > >Originator: Renaud Waldura > >Release: 4.2-RELEASE > >Organization: > >Environment: > >Description: > The Postfix port links against the static MySQL client library. I'd rather have it use the dynamic library, for multiple reasons, the main one being that we use a custom MySQL client lib. I can think of other benefits too, namely memory footprint. > >How-To-Repeat: > Build Postfix with MySQL extensions; all the post* binaries are linked against the static .a MySQL client library, NOT the .so. > >Fix: > --- configure.postfix.bak Wed Mar 21 10:23:21 2001 > +++ configure.postfix Wed Mar 21 10:24:02 2001 > @@ -104,9 +104,9 @@ > echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" > ;; > \"MySQL\") > - echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql323-cli ent" > + echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/mysql/libmysqlclient.so:\${PORTSDIR}/databases/mysql323-cl ient" > echo "POSTFIX_CCARGS+= -DHAS_MYSQL -I\${LOCALBASE}/include/mysql" > - echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz" > + echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/mysql -lmysqlclient -lm -lz" > ;; > \"OpenLDAP\") > echo "CONF2+= sample-ldap.cf" > > >Release-Note: > >Audit-Trail: > >Unformatted: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message