Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Oct 2012 14:28:56 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r305399 - head/www/p5-libwww
Message-ID:  <5070A298.4070903@FreeBSD.org>
In-Reply-To: <201210062006.q96K6Lew031707@svn.freebsd.org>
References:  <201210062006.q96K6Lew031707@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
> -#
> +# Created by: James FitzGibbon <jfitz@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)



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