svn commit: r308745 - head/ftp/lftp

Ganael LAPLANCHE martymac at FreeBSD.org
Wed Dec 12 08:12:14 UTC 2012


Author: martymac
Date: Wed Dec 12 08:12:13 2012
New Revision: 308745
URL: http://svnweb.freebsd.org/changeset/ports/308745

Log:
  - Use radio options for SSL flavour
  - Replace bsd.openssl.mk inclusion with USE_OPENSSL
  - Use bsd.port.options.mk
  
  Submitted by:	bapt

Modified:
  head/ftp/lftp/Makefile

Modified: head/ftp/lftp/Makefile
==============================================================================
--- head/ftp/lftp/Makefile	Wed Dec 12 07:42:34 2012	(r308744)
+++ head/ftp/lftp/Makefile	Wed Dec 12 08:12:13 2012	(r308745)
@@ -38,15 +38,15 @@ PORTDOCS=	AUTHORS BUGS ChangeLog FAQ FEA
 		MIRRORS NEWS README README.debug-levels README.modules \
 		THANKS TODO
 
-OPTIONS_DEFINE=	SSL NLS
-OPTIONS_SINGLE=	SSL
-OPTIONS_SINGLE_SSL=	OPENSSL GNUTLS
+OPTIONS_DEFINE=	NLS
+OPTIONS_RADIO=	SSL
+OPTIONS_RADIO_SSL=	OPENSSL GNUTLS
 OPTIONS_DEFAULT=	SSL OPENSSL NLS
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENSSL}
-.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+USE_OPENSSL=	yes
 CONFIGURE_ARGS+=	--with-openssl
 .else
 CONFIGURE_ARGS+=	--without-openssl
@@ -83,4 +83,4 @@ post-install:
 .endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list