Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 18:01:28 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565549 - head/net/mtr
Message-ID:  <202102171801.11HI1SCU080578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Feb 17 18:01:28 2021
New Revision: 565549
URL: https://svnweb.freebsd.org/changeset/ports/565549

Log:
  Add JSON option
  
  - Bump PORTREVISION for dependency change

Modified:
  head/net/mtr/Makefile

Modified: head/net/mtr/Makefile
==============================================================================
--- head/net/mtr/Makefile	Wed Feb 17 18:01:21 2021	(r565548)
+++ head/net/mtr/Makefile	Wed Feb 17 18:01:28 2021	(r565549)
@@ -4,6 +4,7 @@
 PORTNAME=	mtr
 PORTVERSION=	0.94
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -22,11 +23,14 @@ USE_GITHUB=	yes
 
 CONFLICTS_INSTALL?=	mtr-nox11
 
-OPTIONS_DEFINE=	IPV6 X11
-OPTIONS_DEFAULT=X11
+OPTIONS_DEFINE=	IPV6 JSON X11
+OPTIONS_DEFAULT=JSON X11
+JSON_DESC=	JSON support
 X11_DESC=	Build X11-enabled mtr
 
 IPV6_CONFIGURE_ENABLE=	ipv6
+JSON_CONFIGURE_WITH=	jansson
+JSON_LIB_DEPENDS=	libjansson.so:devel/jansson
 X11_CONFIGURE_WITH=	gtk
 X11_USE=		GNOME=gtk20
 X11_USES=		gnome



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