svn commit: r306565 - head/www/bozohttpd

Jason E. Hale jhale at freebsd.org
Sun Oct 28 21:31:28 UTC 2012


On Sunday, October 28, 2012 19:57:44 you wrote:
> Author: pgj
> Date: Sun Oct 28 19:57:43 2012
> New Revision: 306565
> URL: http://svn.freebsd.org/changeset/ports/306565
> 
> Log:
>   - Convert options to the new format
> 
>   PR:		ports/172540
>   Submitted by:	pgj
>   Approved by:	maintainer
>   Feature safe:	yes
> 
> Modified:
>   head/www/bozohttpd/Makefile
> 
> Modified: head/www/bozohttpd/Makefile
> ============================================================================
> == --- head/www/bozohttpd/Makefile	Sun Oct 28 19:54:57 2012	(r306564) +++
> head/www/bozohttpd/Makefile	Sun Oct 28 19:57:43 2012	(r306565) @@ -1,9 +1,5
<--snip-->
> 
>  #make happy portlint
> -.if defined(WITHOUT_SSL)
> +.if empty(PORT_OPTIONS:MSSL)
>  .else
>  USE_OPENSSL=	yes
>  .endif
> 
> -.include <bsd.port.pre.mk>
> +.include <bsd.port.options.mk>
> 
<--snip-->
> 
> -.if defined(WITHOUT_SSL)
> -CFLAGS+=	-DNO_SSL_SUPPORT
> -.else
> -#USE_OPENSSL=	yes
> +.if ${PORT_OPTIONS:MSSL}
>  CFLAGS+=	-UNO_SSL_SUPPORT
> +.else
> +CFLAGS+=	-DNO_SSL_SUPPORT
>  .endif
> 
Options must be tested after <bsd.port.options.mk>.  That first SSL block 
should be removed because it does nothing since it is before options.mk.  
USE_OPENSSL=yes should be placed in the second SSL block.
-- 
Jason E. Hale - jhale@
FreeBSD Ports Committer
KDE/FreeBSD Team


More information about the svn-ports-all mailing list