ports/75504: Minor enhancement to the cad/ngspice port

Pedro F. Giffuni giffunip at asme.org
Sun Dec 26 05:00:51 UTC 2004


>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:



More information about the freebsd-ports-bugs mailing list