Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 14:40:04 -0700 (PDT)
From:      Paulius Bulotas <paulius@kaktusas.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/53141: mod_php4 does not work with IMAP w/o SSL
Message-ID:  <200306142140.h5ELe4jc075466@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/53141; it has been noted by GNATS.

From: Paulius Bulotas <paulius@kaktusas.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: sysadmin@alexdupre.com
Subject: Re: ports/53141: mod_php4 does not work with IMAP w/o SSL
Date: Sun, 15 Jun 2003 00:39:05 +0300

 Well, the practically correct but large ;) fix for this IMO would be below.
 The idea is to be prepared to build cclient non-interactively with or
 without SSL and with existing cclient installation.
 
 --- lang/php4/Makefile       Sat Jun  7 20:45:10 2003
 +++ lang/php4/Makefile    Sat Jun 14 21:33:46 2003
 @@ -311,7 +311,20 @@
  
  .if defined(WITH_IMAP)
  LIB_DEPENDS+=  c-client4.8:${PORTSDIR}/mail/cclient
 +.if !exists(${LOCALBASE}/lib/libc-client4.so)
 +.if defined(WITHOUT_SSL)
 +CONFIGURE_ARGS+=--with-imap=${LOCALBASE}
 +.else
  CONFIGURE_ARGS+=--with-imap=${LOCALBASE} --with-imap-ssl=${LOCALBASE}
 +.endif
 +.else
 +WITH_IMAP_SSL!=/usr/bin/strings ${LOCALBASE}/lib/libc-client4.so | ${GREP} ssl_onceonlyinit || ${TRUE}
 +.if defined(WITH_IMAP_SSL) && empty(WITH_IMAP_SSL)
 +CONFIGURE_ARGS+=--with-imap=${LOCALBASE}
 +.else
 +CONFIGURE_ARGS+=--with-imap=${LOCALBASE} --with-imap-ssl=${LOCALBASE}
 +.endif
 +.endif
  .endif
  
  .if defined(WITH_INTERBASE)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306142140.h5ELe4jc075466>