svn commit: r398241 - head/benchmarks/polygraph

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 30 23:09:06 UTC 2015


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>


More information about the svn-ports-all mailing list