Bug 56676 - Support for MySQL 4.x for courier-imap-2.1.1
Summary: Support for MySQL 4.x for courier-imap-2.1.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Oliver Lehmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-10 10:30 UTC by Marcin Jessa
Modified: 2003-09-24 15:53 UTC (History)
0 users

See Also:


Attachments
courier-imap-2.1.1.diff (6.60 KB, patch)
2003-09-10 10:30 UTC, Marcin Jessa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Jessa 2003-09-10 10:30:17 UTC

Included automatic detection of the version of installed MySQL libraries. Support for MySQL 4.x with a patch.
Comment 1 Clement Laforet 2003-09-10 10:34:00 UTC
>  CONFIGURE_ARGS+=--without-authmysql
>  PLIST_SUB+=	MYSQLFLAG="@comment "
>  .else
> +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
> +LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
> +PLIST_SUB+=	MYSQLFLAG=""
> +.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
> +LIB_DEPENDS+=	mysqlclient.14:${PORTSDIR}/databases/mysql41-client
> +PLIST_SUB+=	MYSQLFLAG=""
> +.else
> +LIB_DEPENDS+=	mysqlclient.12:${PORTSDIR}/databases/mysql40-client
> +PLIST_SUB+=	MYSQLFLAG=""
> +.endif

You should use USE_MYSQL :-)
.else
USE_MYSQL=	yes
PLIST_SUB+=	MYSQLFLAG=""

regards,
clem
Comment 2 Oliver Lehmann freebsd_committer freebsd_triage 2003-09-21 18:59:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

mine!
Comment 3 Oliver Lehmann freebsd_committer freebsd_triage 2003-09-24 15:53:47 UTC
State Changed
From-To: open->closed

committed, thanks