mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
IMP3 port's dependancy test fails for cyrus-imapd22
The mail/imp3 port can be built with support for the Cyrus IMAPd The WITH_CYRUS flag specifies version 1.x (mail/cyrus) and the WITH_CYRUS_IMAPD flag specifies version 2.x (mail/cyrus-imapd). The WITH_CYRUS flag tests the existance of the installed Cyrus directory in ${LOCALBASE}. The WITH_CYRUS_IMAPD flag tests for the existance of libacap. There are actually three ports providing different subreleases of the Cyrus IMAP system version 2. The cyrus-imapd port is version 2.0.17, the cyrus-imapd2 port is 2.1.14, and the cyrus-imapd22 port is 2.2.1b. Unfortunately, 2.2.1b does not include libacap so the imp3 build failes to recognize when it is installed. Since imp3 doesn't directly use the ACAP library, and appears to work fine with cyrus-imapd22, the test should be modified. PR: ports/56120 Submitted by: Pat Lashley <patl+freebsd@volant.org> Approved by: Thierry Thomas <thierry@pompo.net> (maintainer)
This commit is contained in:
parent
d80dfbecc6
commit
efec05ed04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89891
1 changed files with 6 additions and 15 deletions
|
@ -192,24 +192,15 @@ pre-install:
|
|||
.endif
|
||||
.endif
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so"; then \
|
||||
${ECHO_MSG} "" ; \
|
||||
${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
|
||||
${ECHO_MSG} "Please configure PHP with OpenLDAP or OpenLDAP2 support." ; \
|
||||
${ECHO_MSG} "" ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.else
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.2"; then \
|
||||
${ECHO_MSG} "" ; \
|
||||
${ECHO_MSG} "Please configure PHP with OpenLDAP2 support." ; \
|
||||
${ECHO_MSG} "" ; \
|
||||
${FALSE} ; \
|
||||
fi
|
||||
.endif
|
||||
.endif
|
||||
.if !defined(NOCRYPT)
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libmcrypt.so.8"; then \
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libmcrypt.so"; then \
|
||||
${ECHO_MSG} "" ; \
|
||||
${ECHO_MSG} "Please configure PHP with mcrypt support." ; \
|
||||
${ECHO_MSG} "" ; \
|
||||
|
@ -218,9 +209,9 @@ pre-install:
|
|||
.endif
|
||||
.if !defined(WITHOUT_SUPPORTED_DB)
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libmysqlclient.so"; then \
|
||||
if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libpq.so.3" ; then \
|
||||
if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libsybdb.so.1" ; then \
|
||||
if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libct.so.0" ; then \
|
||||
if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libpq.so" ; then \
|
||||
if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libsybdb.so" ; then \
|
||||
if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libct.so" ; then \
|
||||
${ECHO_MSG} "" ; \
|
||||
${ECHO_MSG} "Please configure PHP with a database support." ; \
|
||||
${ECHO_MSG} "MySQL, PostgreSQL and Sybase (CTLIB or DBLIB)" ; \
|
||||
|
|
Loading…
Add table
Reference in a new issue