In r319990 lang/php52 was convert to new options framework. The implementation of SSL support was turned into a positive option instead of ".if !defined(WITHOUT_SSL)" but the new option is never set or offered in make config. In contrast php53 port has: .if ${PHP_MODNAME} == "imap" OPTIONS_DEFINE= SSL OPTIONS_DEFAULT= SSL LIB_DEPENDS+= c-client4.9:${PORTSDIR}/mail/cclient CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \ --with-pcre-dir=${LOCALBASE} USE_OPENSSL= yes .endif But lang/php52/Makefile.ext is missing the OPTIONS_... = SSL lines so compile fails in a different section. It compiles when I add the two OPTIONS lines, not sure if pcre-dir is needed or desired. Fix: Add OPTIONS_DEFINE=SSL and OPTIONS_DEFAULT=SSL to .if ${PHP_MODNAME} == "imap" in ports/lang/php52/Makefile.ext like ports/lang/php53/Makefile.ext How-To-Repeat: compile lang/php52-imap, note configure error (cclient has SSL support but php52-imap wasn't instructed to use SSL so configure fails) checking for crypt in -lcrypt... yes configure: error: This c-client library is built with SSL support. Add --with-imap-ssl to your configure line. Check config.log for details. ===> Script "configure" failed unexpectedly. Please report the problem to admin@lissyara.su [maintainer] and attach the "/wrkdirs/usr/ports/mail/php52-imap/work/php-5.2.17/ext/imap/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** [do-configure] Error code 1 Stop in /usr/ports/mail/php52-imap.
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Maintainer of mail/php52-imap, Please note that PR ports/179665 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179665 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
please, commit attached patch
Author: az Date: Tue Jun 18 17:48:36 2013 New Revision: 321208 URL: http://svnweb.freebsd.org/changeset/ports/321208 Log: - Fix after convertion to new options framework PR: ports/179665 Submitted by: Adam McDougall <mcdouga9@egr.msu.edu> Approved by: Alex Keda <admin@lissyara.su> (maintainer) Modified: head/lang/php52/Makefile.ext (contents, props changed) Modified: head/lang/php52/Makefile.ext ============================================================================== --- head/lang/php52/Makefile.ext Tue Jun 18 17:36:23 2013 (r321207) +++ head/lang/php52/Makefile.ext Tue Jun 18 17:48:36 2013 (r321208) @@ -142,6 +142,8 @@ USES+= iconv .endif .if ${PHP_MODNAME} == "imap" +OPTIONS_DEFINE= SSL +OPTIONS_DEFAULT= SSL LIB_DEPENDS+= c-client4.9:${PORTSDIR}/mail/cclient CONFIGURE_ARGS+=--with-imap=${LOCALBASE} _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!