Date: Sun, 26 Dec 2004 04:53:52 GMT From: "Pedro F. Giffuni" <giffunip@asme.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/75504: Minor enhancement to the cad/ngspice port Message-ID: <200412260453.iBQ4rqIn003525@www.freebsd.org> Resent-Message-ID: <200412260500.iBQ50opx049374@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75504 >Category: ports >Synopsis: Minor enhancement to the cad/ngspice port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 26 05:00:50 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 5.2.1 Release >Organization: >Environment: >Description: ngspice is being built without readline support to avoid possible licensing issues: ngspice license is GPL-incompatible. The GPL only applies to distribution though, so I suggest to enable it when we are not PACKAGE_BUILDING. Also, when we are package building we shouldn't build-in debugging support. >How-To-Repeat: My enhancements are pretty minimalistic. JFYI, the ngspice team also added xspice and cider but they consider it experimental so they don't build it. They don't build X support either. >Fix: diff -ruN ngspice_rework.orig/Makefile ngspice_rework/Makefile --- ngspice_rework.orig/Makefile Thu Dec 23 22:50:53 2004 +++ ngspice_rework/Makefile Sat Dec 25 19:56:49 2004 @@ -21,6 +21,12 @@ USE_LIBTOOL_VER?=15 USE_GMAKE= yes +.ifndef PACKAGE_BUILDING +CONFIGURE_ARGS += --with-readline=yes +.else +CONFIGURE_ARGS += --disable-debug +.endif + INFO= ngspice MAN1= ngspice.1 ngnutmeg.1 ngsconvert.1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412260453.iBQ4rqIn003525>