diff options
author | marino <marino@FreeBSD.org> | 2016-11-03 17:38:51 +0000 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-11-03 17:38:51 +0000 |
commit | d204aae68df557acf7ae79ae113df5537a297680 (patch) | |
tree | beedb2181ed8be33cb419ce224c4fde6857d051f | |
parent | 88f32c3dd87ef0eb6e1b0e3951e07f1efd11c72b (diff) | |
download | FreeBSD-ports-d204aae68df557acf7ae79ae113df5537a297680.zip FreeBSD-ports-d204aae68df557acf7ae79ae113df5537a297680.tar.gz |
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)
-rw-r--r-- | cad/ngspice_rework/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cad/ngspice_rework/Makefile b/cad/ngspice_rework/Makefile index 10c9b90..204c123 100644 --- a/cad/ngspice_rework/Makefile +++ b/cad/ngspice_rework/Makefile @@ -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 <bsd.port.mk> |