diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-28 20:14:21 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-28 20:14:21 +0800 |
commit | b5bd987d9b9ee2c2ac55a218690f4a05aa25aa7d (patch) | |
tree | db535505a25785e63b3af6ae54fd3eb387203ac9 /security/prelude-manager | |
parent | 9245a3c3d4debdbc4dac3c3850bccbd3efde8ac1 (diff) | |
download | freebsd-ports-gnome-b5bd987d9b9ee2c2ac55a218690f4a05aa25aa7d.tar.gz freebsd-ports-gnome-b5bd987d9b9ee2c2ac55a218690f4a05aa25aa7d.tar.zst freebsd-ports-gnome-b5bd987d9b9ee2c2ac55a218690f4a05aa25aa7d.zip |
[update ports]: Use USE_MYSQL and USE_OPENLDAP in my ports
www/mod_accounting [1]
mail/perdition [2]
security/prelude-manager [3]
PR: ports/56026
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Diffstat (limited to 'security/prelude-manager')
-rw-r--r-- | security/prelude-manager/Makefile | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/security/prelude-manager/Makefile b/security/prelude-manager/Makefile index 4145846bf201..f1cd63d67f11 100644 --- a/security/prelude-manager/Makefile +++ b/security/prelude-manager/Makefile @@ -21,25 +21,6 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc \ --program-prefix="" --localstatedir=/var -# 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 -MYSQL_VER= 40 -.endif - .if defined(WITHOUT_SSL) CONFIGURE_ARGS+= --disable-openssl .else @@ -48,7 +29,7 @@ CONFIGURE_ARGS+= --enable-openssl .endif .if defined(WITH_MYSQL) -LIB_DEPENDS+= mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client +USE_MYSQL= YES CONFIGURE_ARGS+= --enable-mysql PLIST_SUB+= MYSQL="" .else @@ -72,11 +53,8 @@ post-patch: @${ECHO} "" @${ECHO} " WITHOUT_SSL=yes Disable SSL support" @${ECHO} " WITH_MYSQL=yes Enable MySQL support" - @${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} " WITH_POSTGRES=yes Enable PostreSQL support" @${ECHO} "*---------------------------------------------------------------------------*" @${ECHO} "" -.include <bsd.port.post.mk> +.include <bsd.port.mk> |