Date: Wed, 27 Aug 2003 03:00:52 -0700 (PDT) From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/54887: [new port] mail/dbmail: An SQL database-based mail system (POP3 and IMAP) Message-ID: <200308271000.h7RA0qVO020131@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/54887; it has been noted by GNATS. From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/54887: [new port] mail/dbmail: An SQL database-based mail system (POP3 and IMAP) Date: Wed, 27 Aug 2003 11:43:52 +0200 Use new USE_MYSQL. --- Makefile.old Wed Aug 27 11:35:39 2003 +++ Makefile Wed Aug 27 11:36:16 2003 @@ -19,26 +19,6 @@ GNU_CONFIGURE= YES USE_GMAKE= YES -# MySQL deps hack -MYSQL323_LIBVER=10 -MYSQL40_LIBVER= 12 -MYSQL41_LIBVER= 14 - -.include <bsd.port.pre.mk> - -.if defined(WITH_MYSQL_VER) -MYSQL_VER= ${WITH_MYSQL_VER} -.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL_323_LIBVER}) -MYSQL_VER= 323 -.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL40_LIBVER}) -MYSQL_VER= 40 -.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL41_LIBVER}) -MYSQL_VER= 41 -.else -# We consider that MySQL 4.0.x is now the default. -MYSQL_VER= 40 -.endif - .if defined(WITH_PGSQL) CONFIGURE_ARGS+= --with-pgsql LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7 @@ -46,8 +26,8 @@ PLIST_SUB+= PGSQL="" PLIST_SUB+= MYSQL="@comment " .else +USE_MYSQL= YES CONFIGURE_ARGS+= --with-mysql -LIB_DEPENDS+= mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client DATABASE= mysql PLIST_SUB+= MYSQL="" PLIST_SUB+= PGSQL="@comment " @@ -61,11 +41,6 @@ @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} " By default dbmail uses MySQL backend database." - @${ECHO} "" - @${ECHO} " WITH_MYSQL_VER=323 Enable MySQL 3.23 support" - @${ECHO} " WITH_MYSQL_VER=40 Enable MySQL 4.0 support (default)" - @${ECHO} " WITH_MYSQL_VER=41 Enable MySQL 4.1 support" - @${ECHO} "" @${ECHO} " To build dbmail with PostgreSQL as backend database," @${ECHO} " define WITH_PGSQL" @${ECHO} "" @@ -87,4 +62,4 @@ .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308271000.h7RA0qVO020131>