Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2015 23:09:06 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398241 - head/benchmarks/polygraph
Message-ID:  <201509302309.t8UN961P044260@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep 30 23:09:05 2015
New Revision: 398241
URL: https://svnweb.freebsd.org/changeset/ports/398241

Log:
  - Switch to options helpers

Modified:
  head/benchmarks/polygraph/Makefile

Modified: head/benchmarks/polygraph/Makefile
==============================================================================
--- head/benchmarks/polygraph/Makefile	Wed Sep 30 23:09:00 2015	(r398240)
+++ head/benchmarks/polygraph/Makefile	Wed Sep 30 23:09:05 2015	(r398241)
@@ -24,25 +24,18 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 CONFLICTS=	ltrace-0*
 
 OPTIONS_DEFINE=	GNUPLOT OPENSSL PERL ZLIB
+OPTIONS_DEFAULT=OPENSSL ZLIB
 
 GNUPLOT_DESC=	GNUPlot for full reporting functionality
 OPENSSL_DESC=	Enable SSL/HTTPS support
 PERL_DESC=	Install Perl for PolyGraph tools
 ZLIB_DESC=	Enable HTTP compression support
 
-OPTIONS_DEFAULT=	OPENSSL ZLIB
-
-GNUPLOT_RUN_DEPENDS=	 gnuplot:${PORTSDIR}/math/gnuplot
-
+GNUPLOT_RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
 OPENSSL_USE=		OPENSSL=yes
+OPENSSL_CONFIGURE_ON=	--with-ssl=${OPENSSLBASE}
 PERL_USES=		perl5
 PERL_USE=		PERL5=run
 ZLIB_CONFIGURE_WITH=	zlib=/usr
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MOPENSSL}
-CONFIGURE_ARGS+=	--with-ssl=${OPENSSLBASE}
-.endif
-
 .include <bsd.port.mk>



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