Date: Wed, 21 Mar 2001 11:22:35 -0800 (PST) From: renaud+freebsd-bugs@waldura.org To: freebsd-gnats-submit@FreeBSD.org Subject: ports/25967: Postfix port links against the static MySQL client library Message-ID: <200103211922.f2LJMZI06995@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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-client" + echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/mysql/libmysqlclient.so:\${PORTSDIR}/databases/mysql323-client" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103211922.f2LJMZI06995>