diff options
author | flo <flo@FreeBSD.org> | 2013-04-27 03:52:01 +0800 |
---|---|---|
committer | flo <flo@FreeBSD.org> | 2013-04-27 03:52:01 +0800 |
commit | 33cc62296f9d9561cbb99693cf88035a26edaaf0 (patch) | |
tree | 0f9a48f6db151853e1f2814b72bea8abf0a5d4fc /mail | |
parent | a31da4c6addcf86aa9894faed4b138af053883f4 (diff) | |
download | freebsd-ports-gnome-33cc62296f9d9561cbb99693cf88035a26edaaf0.tar.gz freebsd-ports-gnome-33cc62296f9d9561cbb99693cf88035a26edaaf0.tar.zst freebsd-ports-gnome-33cc62296f9d9561cbb99693cf88035a26edaaf0.zip |
Remove MySQL 4.1, it has been unsupported upstream for almost 3.5 years.
Approved by: ale
Diffstat (limited to 'mail')
-rw-r--r-- | mail/dspam/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile index 9e3116741298..87ca342949c0 100644 --- a/mail/dspam/Makefile +++ b/mail/dspam/Makefile @@ -36,8 +36,6 @@ OPTIONS+= CLAMAV "Enable clamav support" on OPTIONS+= CLAMAV_DEVEL "Enable clamav support" off OPTIONS+= CLAMAV_LOCAL "RUN_DEPEND on selected clamav" on # -OPTIONS+= MYSQL40 "Use MySQL 4.0.x as back-end" off -OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" off OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" on OPTIONS+= MYSQL51 "Use MySQL 5.1.x as back-end" off OPTIONS+= MYSQL55 "Use MySQL 5.5.x as back-end" off @@ -240,13 +238,7 @@ _DBDRV:= ${_DBDRV:S/hash_drv,//} PLIST_SUB+= HASH="@comment " .endif -.ifdef(WITH_MYSQL40) -WANT_MYSQL_VER= 40 -#PKGNAMESUFFIX= -mysql40 -.elifdef(WITH_MYSQL41) -WANT_MYSQL_VER= 41 -#PKGNAMESUFFIX= -mysql41 -.elifndef(WITHOUT_MYSQL50) +.ifndef(WITHOUT_MYSQL50) WANT_MYSQL_VER= 50 #PKGNAMESUFFIX= -mysql50 .elifdef(WITH_MYSQL51) @@ -257,8 +249,7 @@ WANT_MYSQL_VER= 55 #PKGNAMESUFFIX= -mysql55 .endif -.if defined(WITH_MYSQL40) || defined(WITH_MYSQL41) || \ - !defined(WITHOUT_MYSQL50) || defined(WITH_MYSQL51) || defined(WITH_MYSQL55) +.if !defined(WITHOUT_MYSQL50) || defined(WITH_MYSQL51) || defined(WITH_MYSQL55) USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libraries=${LOCALBASE}/lib/mysql @@ -340,7 +331,7 @@ LDA_COUNT:= ${LDA_COUNT:S/o//} .endif .ifdef(WITH_EXIM_LDA) -. ifdef(WITH_MYSQL40) || (WITH_MYSQL41) +. ifdef(WITH_MYSQL50) || (WITH_MYSQL51) || (WITH_MYSQL55) _EXIM_EXT= -mysql . elifdef(WITH_POSTGRESQL) _EXIM_EXT= -postgresql @@ -511,7 +502,7 @@ pre-configure: @${ECHO_CMD} "You need MySQL, PostgreSQL or Hash for Daemon mode, because multithreading support is needed" @${FALSE} .endif -.if ( defined(WITH_MYSQL40) && defined(WITH_MYSQL41) && !defined(WITHOUT_MYSQL50) && defined(WITH_MYSQL51)) +.if (!defined(WITHOUT_MYSQL50) && defined(WITH_MYSQL51)) @${ECHO_CMD} "You can compile with only one MySQL version driver." @${FALSE} .endif |