Date: Wed, 23 May 2001 15:14:59 -0500 (CDT) From: dwcjr@inethouston.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27597: UPDATE mail/postfix-current Message-ID: <20010523201459.ACC2010F411@leviathan.inethouston.net>
next in thread | raw e-mail | index | archive | help
>Number: 27597 >Category: ports >Synopsis: UPDATE mail/postfix-current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed May 23 13:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: David W. Chapman Jr. >Release: FreeBSD 4.3-STABLE i386 >Organization: Raintree Network Services, Inc. >Environment: System: FreeBSD leviathan.inethouston.net 4.3-STABLE FreeBSD 4.3-STABLE #4: Fri May 11 10:49:15 CDT 2001 poseiden@leviathan.inethouston.net:/stripe1/compile/src/sys/compile/LEVIATHAN i386 >Description: Detect if sasl is compiled with mysql Compile mysql support static because it won't startup on boot if you don't (this should close pr ports/26675) If anyone knows a cleaner way, please be my guest >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/postfix-current/Makefile,v retrieving revision 1.56 diff -u -r1.56 Makefile --- Makefile 2001/05/23 16:48:34 1.56 +++ Makefile 2001/05/23 20:12:49 @@ -7,6 +7,7 @@ PORTNAME= postfix PORTVERSION= 20010502 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \ ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/%SUBDIR%/ \ @@ -62,7 +63,8 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ PREFIX="${PREFIX}" \ TOUCH="${TOUCH}" \ - MKDIR="${MKDIR}" + MKDIR="${MKDIR}" \ + PREFIX="${PREFIX}" pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.postfix Index: scripts/configure.postfix =================================================================== RCS file: /home/ncvs/ports/mail/postfix-current/scripts/configure.postfix,v retrieving revision 1.17 diff -u -r1.17 configure.postfix --- scripts/configure.postfix 2001/05/23 16:48:37 1.17 +++ scripts/configure.postfix 2001/05/23 20:12:49 @@ -68,6 +68,10 @@ echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libsasl.a:\${PORTSDIR}/security/cyrus-sasl" echo "POSTFIX_CCARGS+= -DUSE_SASL_AUTH -I\${LOCALBASE}/include" echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/libsasl.a -lpam -lcrypt" + if [ `strings ${PREFIX}/lib/libsasl.a | grep mysql_verify_password` = "mysql_verify_password" ]; then + echo "POSTFIX_CCARGS+= -DHAS_MYSQL -I\${LOCALBASE}/include/mysql" + echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz" + fi echo ".if exists(/usr/lib/libkrb.a)" echo "POSTFIX_AUXLIBS+= -lkrb -ldes -lcom_err" echo ".endif" @@ -89,9 +93,9 @@ echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" ;; \"MySQL\") - echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/mysql/libmysqlclient.so:\${PORTSDIR}/databases/mysql323-client" + echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql323-client" echo "POSTFIX_CCARGS+= -DHAS_MYSQL -I\${LOCALBASE}/include/mysql" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/mysql -lmysqlclient -lm -lz" + echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -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?20010523201459.ACC2010F411>