FreeBSD Bugzilla – Attachment 128521 Details for
Bug 172380
Convert mail/dbmail22 to new options framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
dbmail22-options.diff
dbmail22-options.diff (text/plain), 1.94 KB, created by
Alan Hicks
on 2012-10-06 08:00:27 UTC
(
hide
)
Description:
dbmail22-options.diff
Filename:
MIME Type:
Creator:
Alan Hicks
Created:
2012-10-06 08:00:27 UTC
Size:
1.94 KB
patch
obsolete
>diff -ur dbmail22.orig/Makefile dbmail22/Makefile >--- dbmail22.orig/Makefile 2012-08-06 00:19:36.000000000 +0100 >+++ dbmail22/Makefile 2012-10-06 07:43:58.000000000 +0100 >@@ -19,11 +19,9 @@ > > CONFLICTS= dbmail-*-2.0.* dbmail-2.1.* dbmail-3.* > >-OPTIONS= MYSQL "Build with MySQL support" on \ >- POSTGRESQL "Build with PostgreSQL support" off \ >- SQLITE "Build with SQLite support" off \ >- SIEVE "Build w. support for Sieve mail sorting language" off \ >- LDAP "Build with support for LDAP authentication" off >+OPTIONS_DEFINE= MYSQL PGSQL SQLITE SIEVE LDAP >+OPTIONS_DEFAULT=MYSQL >+SIEVE_DESC= Build with support for Sieve mail sorting language > > LATEST_LINK= dbmail22 > USE_AUTOTOOLS= libtool >@@ -61,7 +59,7 @@ > > .include <bsd.port.pre.mk> > >-.if !defined(WITHOUT_MYSQL) >+.if ${PORT_OPTIONS:MMYSQL} > CONFIGURE_ARGS+=--with-mysql > USE_MYSQL= yes > DATABASE+= mysql >@@ -70,7 +68,7 @@ > PLIST_SUB+= MYSQL="@comment " > .endif > >-.if defined(WITH_POSTGRESQL) >+.if ${PORT_OPTIONS:MPGSQL} > CONFIGURE_ARGS+=--with-pgsql > USE_PGSQL= yes > DATABASE+= postgresql >@@ -79,7 +77,7 @@ > PLIST_SUB+= PGSQL="@comment " > .endif > >-.if defined(WITH_SQLITE) >+.if ${PORT_OPTIONS:MSQLITE} > CONFIGURE_ARGS+=--with-sqlite > USE_SQLITE= yes > DATABASE+= sqlite >@@ -88,7 +86,7 @@ > PLIST_SUB+= SQLITE="@comment " > .endif > >-.if defined(WITH_SIEVE) >+.if ${PORT_OPTIONS:MSIEVE} > CONFIGURE_ARGS+=--with-sieve=${LOCALBASE}/include > LIB_DEPENDS+= sieve.1:${PORTSDIR}/mail/libsieve > PLIST_SUB+= SIEVE="" >@@ -96,7 +94,7 @@ > PLIST_SUB+= SIEVE="@comment " > .endif > >-.if defined(WITH_LDAP) >+.if ${PORT_OPTIONS:MLDAP} > CONFIGURE_ARGS+=--with-auth-ldap=${LOCALBASE}/include > USE_OPENLDAP= yes > PLIST_SUB+= LDAP="" >@@ -104,7 +102,7 @@ > PLIST_SUB+= LDAP="@comment " > .endif > >-.if defined(WITHOUT_MYSQL) && !defined(WITH_POSTGRESQL) && !defined(WITH_SQLITE) >+.if !${PORT_OPTIONS:MMYSQL} && !${PORT_OPTIONS:MPGSQL} && !${PORT_OPTIONS:MSQLITE} > IGNORE="requires at least one database backend selected. Run 'make config'" > .endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172380
: 128521