Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 09:45:11 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316033 - head/net/httping
Message-ID:  <201304180945.r3I9jBjR094302@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Apr 18 09:45:10 2013
New Revision: 316033
URL: http://svnweb.freebsd.org/changeset/ports/316033

Log:
  - Make fftw3 support optional from NCURSES support
  - Add an option to expicitly disable SSL support
  - Now that fftw3 support is optional and off by default turn on NCURSES support
    by default
  
  Feature safe:   yes

Modified:
  head/net/httping/Makefile

Modified: head/net/httping/Makefile
==============================================================================
--- head/net/httping/Makefile	Thu Apr 18 09:44:29 2013	(r316032)
+++ head/net/httping/Makefile	Thu Apr 18 09:45:10 2013	(r316033)
@@ -3,6 +3,7 @@
 
 PORTNAME=	httping
 PORTVERSION=	2.2.1
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.vanheusden.com/httping/ \
 		CRITICAL
@@ -17,17 +18,31 @@ MAKE_JOBS_SAFE=	yes
 MAN1=		httping.1
 PLIST_FILES=	bin/httping
 
-OPTIONS_DEFINE=	NCURSES
+OPTIONS_DEFINE=	NCURSES FFTW SSL
 
-NCURSES_DESC=	ncurses support
+OPTIONS_DEFAULT=NCURSES SSL
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNCURSES}
-LIB_DEPENDS+=	fftw3:${PORTSDIR}/math/fftw3
-MAKE_ENV+=	SSL=yes NC=yes FW=yes
+MAKE_ENV+=	NC=yes
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+.else
+MAKE_ENV+=	NC=no
+.endif
+
+.if ${PORT_OPTIONS:MFFTW}
+MAKE_ENV+=	FW=yes
+LIB_DEPENDS+=	fftw3:${PORTSDIR}/math/fftw3
+.else
+MAKE_ENV+=	FW=no
+.endif
+
+.if ${PORT_OPTIONS:MSSL}
+MAKE_ENV+=	SSL=yes
+.else
+MAKE_ENV+=	SSL=no
 .endif
 
 do-install:



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