svn commit: r305399 - head/www/p5-libwww

Doug Barton dougb at FreeBSD.org
Sat Oct 6 21:28:58 UTC 2012


Can you please provide compatibility for those who have WITH_SSL defined
in make.conf, ports.conf, etc? That's been the traditional way to get
SSL for many years now.

Doug


On 10/06/2012 13:06, Sunpoet Po-Chuan Hsieh wrote:
> Author: sunpoet
> Date: Sat Oct  6 20:06:20 2012
> New Revision: 305399
> URL: http://svn.freebsd.org/changeset/ports/305399
> 
> Log:
>   - Convert to new options framework
>   - Cleanup Makefile header
>   - Rename option: SSL -> HTTPS
> 
> Modified:
>   head/www/p5-libwww/Makefile   (contents, props changed)
> 
> Modified: head/www/p5-libwww/Makefile
> ==============================================================================
> --- head/www/p5-libwww/Makefile	Sat Oct  6 20:00:29 2012	(r305398)
> +++ head/www/p5-libwww/Makefile	Sat Oct  6 20:06:20 2012	(r305399)
> @@ -1,9 +1,5 @@
> -# New ports collection makefile for:	p5-libwww
> -# Date created:				September 30th 1996
> -# Whom:	      				James FitzGibbon <jfitz at FreeBSD.org>
> -#
> +# Created by: James FitzGibbon <jfitz at FreeBSD.org>
>  # $FreeBSD$
> -#
>  
>  PORTNAME=	libwww
>  PORTVERSION=	6.04
> @@ -30,7 +26,7 @@ BUILD_DEPENDS=	p5-Authen-NTLM>=1.02:${PO
>  		p5-WWW-RobotRules>=6:${PORTSDIR}/www/p5-WWW-RobotRules
>  RUN_DEPENDS:=	${BUILD_DEPENDS}
>  
> -OPTIONS=	SSL	"Enable https support" off
> +OPTIONS_DEFINE=	HTTPS
>  
>  CONFIGURE_ARGS=	--aliases
>  PERL_CONFIGURE=	yes
> @@ -56,7 +52,7 @@ MAN3=		LWP.3 \
>  
>  .include <bsd.port.options.mk>
>  
> -.if defined(WITH_SSL)
> +.if ${PORT_OPTIONS:MHTTPS}
>  BUILD_DEPENDS+=	p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
>  		p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https
>  RUN_DEPENDS+=	p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
> 


-- 

    I am only one, but I am one.  I cannot do everything, but I can do
    something.  And I will not let what I cannot do interfere with what
    I can do.
			-- Edward Everett Hale, (1822 - 1909)



More information about the svn-ports-all mailing list