Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 17:31:18 -0400
From:      "Jason E. Hale" <jhale@freebsd.org>
To:        Gabor Pali <pgj@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r306565 - head/www/bozohttpd
Message-ID:  <7906229.MARl6IleAJ@mocha.verizon.net>
In-Reply-To: <201210281957.q9SJvioQ087645@svn.freebsd.org>
References:  <201210281957.q9SJvioQ087645@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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