From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 7 15:20:15 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E6A4106566B for ; Thu, 7 Jun 2012 15:20:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6A78FC0C for ; Thu, 7 Jun 2012 15:20:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q57FKFTv064089 for ; Thu, 7 Jun 2012 15:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q57FKFRG064088; Thu, 7 Jun 2012 15:20:15 GMT (envelope-from gnats) Date: Thu, 7 Jun 2012 15:20:15 GMT Message-Id: <201206071520.q57FKFRG064088@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Bryan Drewery Cc: Subject: Re: ports/168808: [PATCH] net/mtr: Convert to new options framework X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bryan Drewery List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2012 15:20:15 -0000 The following reply was made to PR ports/168808; it has been noted by GNATS. From: Bryan Drewery To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/168808: [PATCH] net/mtr: Convert to new options framework Date: Thu, 07 Jun 2012 10:19:56 -0500 This is a multi-part message in MIME format. --------------040504000307090504050606 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Previous patch missed the OPTIONS_DEFAULT= IPV6. Not sure if it is intended to have X11 as the default. I left it out of my patch. Attached adds IPV6 to default. --------------040504000307090504050606 Content-Type: text/plain; charset=windows-1252; name="patch-net-mtr-optionsng.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-net-mtr-optionsng.txt" --- Makefile.orig 2012-06-07 10:00:33.000000000 -0500 +++ Makefile 2012-06-07 10:16:02.000000000 -0500 @@ -16,7 +16,8 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Traceroute and ping in a single graphical network diagnostic tool -OPTIONS= IPV6 "Build IPv6 support" on +OPTIONS_DEFINE= IPV6 X11 +OPTIONS_DEFAULT= IPV6 GNU_CONFIGURE= yes USE_GMAKE= yes @@ -26,20 +27,18 @@ .include -.if !defined(WITHOUT_IPV6) +.if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--enable-ipv6 CATEGORIES+= ipv6 .else CONFIGURE_ARGS+=--disable-ipv6 .endif -.if !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} CONFIGURE_ARGS+=--with-gtk -OPTIONS+= X11 "Build X11-enabled mtr" on USE_GNOME= gtk20 .else CONFIGURE_ARGS+=--without-gtk -OPTIONS+= X11 "Build X11-enabled mtr" off PKGNAMESUFFIX= -nox11 .endif --------------040504000307090504050606--