diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-13 05:55:02 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-13 05:55:02 +0000 |
commit | 7da39d11c2a4d3613e19a4dc6a562337ba1bfacd (patch) | |
tree | 06c1fcce4e4bd9e8bdce472e8eca4f4a467896ca /mail/squirrelmail-shared_calendars-plugin | |
parent | c2894a8bc4d59836f188e71d0024673d696c7ec8 (diff) | |
download | ports-7da39d11c2a4d3613e19a4dc6a562337ba1bfacd.tar.gz ports-7da39d11c2a4d3613e19a4dc6a562337ba1bfacd.zip |
Notes
Diffstat (limited to 'mail/squirrelmail-shared_calendars-plugin')
-rw-r--r-- | mail/squirrelmail-shared_calendars-plugin/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/squirrelmail-shared_calendars-plugin/Makefile b/mail/squirrelmail-shared_calendars-plugin/Makefile index db3e4b7b788f..1847ae79702b 100644 --- a/mail/squirrelmail-shared_calendars-plugin/Makefile +++ b/mail/squirrelmail-shared_calendars-plugin/Makefile @@ -45,13 +45,14 @@ USE_PERL5_BUILD= yes USE_PHP= yes WANT_PHP_WEB= yes -OPTIONS= SQL "use SQL backend" off +OPTIONS_DEFINE= SQL +SQL_DESC= use SQL backend LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} .include <bsd.port.options.mk> -.if !defined(WITHOUT_SQL) || defined(WITH_SQL) +.if ${PORT_OPTIONS:MSQL} RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/calendar_sql_backend:${PORTSDIR}/mail/squirrelmail-calendar_sql_backend-plugin .else RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/calendar_file_backend:${PORTSDIR}/mail/squirrelmail-calendar_file_backend-plugin |