From owner-svn-ports-all@freebsd.org Thu Nov 3 17:38:52 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D609BC2D0B0; Thu, 3 Nov 2016 17:38:52 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A46FC1BA6; Thu, 3 Nov 2016 17:38:52 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uA3HcpOI081822; Thu, 3 Nov 2016 17:38:51 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uA3Hcphd081821; Thu, 3 Nov 2016 17:38:51 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201611031738.uA3Hcphd081821@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 3 Nov 2016 17:38:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425264 - head/cad/ngspice_rework X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 17:38:52 -0000 Author: marino Date: Thu Nov 3 17:38:51 2016 New Revision: 425264 URL: https://svnweb.freebsd.org/changeset/ports/425264 Log: cad/ngspice_rework: Enable X support by default (introduce X11 option) Ngspice built inside a package builder will not have x11 support which results in errors such as "Can't open viewport in graphics." when trying to plot. This change adds the X11 option which is on by default. PR: 212357 Submitted by: Michael Neumann Approved by: Kevin Zheng (maintainer) Modified: head/cad/ngspice_rework/Makefile Modified: head/cad/ngspice_rework/Makefile ============================================================================== --- head/cad/ngspice_rework/Makefile Thu Nov 3 16:59:23 2016 (r425263) +++ head/cad/ngspice_rework/Makefile Thu Nov 3 17:38:51 2016 (r425264) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ngspice_rework -PORTVERSION= 26 +PORTVERSION= 27 CATEGORIES= cad MASTER_SITES= SF/ngspice/ng-spice-rework/${PORTVERSION} DISTNAME= ngspice-${PORTVERSION} @@ -15,7 +15,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gmake libtool readline +CONFIGURE_ARGS+= --with-readline=yes + +OPTIONS_DEFINE= DEBUG X11 +OPTIONS_DEFAULT= X11 + +X11_USE= XORG=ice,sm,x11,xaw,xext,xmu,xt +X11_CONFIGURE_ENABLE= xspice +X11_CONFIGURE_WITH= x + DEBUG_CONFIGURE_ENABLE= debug -CONFIGURE_ARGS+= --enable-xspice --with-readline=yes .include