pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Rrequest upgrade of cad/ng-spice and cad/ng-spice-shared



PFA suggested patches to bring these two packages up to date.

-- 
Mayuresh
diff --git a/cad/ng-spice/Makefile b/cad/ng-spice/Makefile
index 1931d17903d..6230d2848db 100644
--- a/cad/ng-spice/Makefile
+++ b/cad/ng-spice/Makefile
@@ -1,6 +1,5 @@
 # $NetBSD: Makefile,v 1.51 2023/11/12 13:20:47 wiz Exp $
 
-PKGREVISION= 1
 .include "../../cad/ng-spice/Makefile.common"
 
 PKGNAME=	ng-spice-${VERSION}
@@ -13,9 +12,10 @@ LIBS+=			${BUILDLINK_LDADD.getopt}
 INFO_FILES=	yes
 TEXINFO_REQD=	4.6
 
+BUILDLINK_TRANSFORM.NetBSD+=    rm:-ldl
+
 .include "../../devel/libgetopt/buildlink3.mk"
 # uses rl_* interface
-.include "../../devel/readline/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../math/fftw/buildlink3.mk"
diff --git a/cad/ng-spice/Makefile.common b/cad/ng-spice/Makefile.common
index 85631762261..42acc7f0de9 100644
--- a/cad/ng-spice/Makefile.common
+++ b/cad/ng-spice/Makefile.common
@@ -3,7 +3,7 @@
 # used by can/ng-spice
 # used by can/ng-spice-shared
 
-VERSION=	40
+VERSION=	43
 DISTNAME=	ngspice-${VERSION}
 CATEGORIES=	cad
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ngspice/}
@@ -21,9 +21,8 @@ USE_LANGUAGES=		c c++
 GNU_CONFIGURE=		YES
 CONFIGURE_ARGS+=	--disable-debug
 
-# error: 'for' loop initial declarations are only allowed in C99 mode
-FORCE_C_STD=		c99
-
 CFLAGS.Linux+=		-D_POSIX_C_SOURCE=200809L       # fileno(3)
 # should be _XOPEN_SOURCE, but glibc hides usleep with _POSIX_C_SOURCE.
 CFLAGS.Linux+=		-D_DEFAULT_SOURCE=1             # usleep(3)
+
+.include "../../devel/readline/buildlink3.mk"
diff --git a/cad/ng-spice/PLIST b/cad/ng-spice/PLIST
index 5ef92b2b4f2..871827141fc 100644
--- a/cad/ng-spice/PLIST
+++ b/cad/ng-spice/PLIST
@@ -1,6 +1,18 @@
-@comment $NetBSD: PLIST,v 1.15 2023/06/06 09:54:12 bouyer Exp $
+@comment $NetBSD$
 bin/ngspice
+lib/ngspice/analog.cm
+lib/ngspice/digital.cm
+lib/ngspice/spice2poly.cm
+lib/ngspice/table.cm
+lib/ngspice/xtradev.cm
+lib/ngspice/xtraevt.cm
 man/man1/ngspice.1
 share/ngspice/scripts/setplot
 share/ngspice/scripts/spectrum
 share/ngspice/scripts/spinit
+share/ngspice/scripts/src/ngspice/cmtypes.h
+share/ngspice/scripts/src/ngspice/cosim.h
+share/ngspice/scripts/src/ngspice/miftypes.h
+share/ngspice/scripts/src/verilator_main.cpp
+share/ngspice/scripts/src/verilator_shim.cpp
+share/ngspice/scripts/vlnggen
diff --git a/cad/ng-spice/distinfo b/cad/ng-spice/distinfo
index f821bf176ea..85ee4c7eee3 100644
--- a/cad/ng-spice/distinfo
+++ b/cad/ng-spice/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.21 2023/06/06 09:54:12 bouyer Exp $
 
-BLAKE2s (ngspice-40.tar.gz) = d284f6fe323a5519d85a5c1afa72c68ad2a237dc71a4a5fa43be39b49f13294e
-SHA512 (ngspice-40.tar.gz) = dab422cc8677e6f4bb92e06be0ce695a53d3e9abbe533c7bb91540d55d2a13514b0b166c8ccafcc17699799a846a35e260dddc400664c6e1137e1b18504e9954
-Size (ngspice-40.tar.gz) = 9431981 bytes
+BLAKE2s (ngspice-43.tar.gz) = 455a8db3f1691d9e5701e8f423d673e30336492d75ec7a9e867f201ad686af42
+SHA512 (ngspice-43.tar.gz) = ad938e6ea8f9874c04d1033599bf39d3728e763fbd42ba77bd036b6c00271600695b3656f3f34547c39153382f55e7d7d5d6cb732f272d149cdbe21988c0d636
+Size (ngspice-43.tar.gz) = 10279606 bytes
diff --git a/cad/ng-spice-shared/Makefile b/cad/ng-spice-shared/Makefile
index 55b42d08022..8c0a067e6d4 100644
--- a/cad/ng-spice-shared/Makefile
+++ b/cad/ng-spice-shared/Makefile
@@ -9,7 +9,7 @@ COMMENT=	Next generation circuit simulation program (shared libraries)
 CONFIGURE_ARGS+=	--with-ngshared=YES
 
 post-install:
-	${RM} -r ${DESTDIR}${PREFIX}/share/ngspice/scripts
+	${RM} -r ${DESTDIR}${PREFIX}/share/ngspice/scripts ${DESTDIR}${PREFIX}/lib/ngspice
 
 
 .include "../../math/fftw/buildlink3.mk"
diff --git a/cad/ng-spice-shared/PLIST b/cad/ng-spice-shared/PLIST
index a207864245c..e4cddc55a7d 100644
--- a/cad/ng-spice-shared/PLIST
+++ b/cad/ng-spice-shared/PLIST
@@ -1,6 +1,5 @@
+@comment $NetBSD$
 include/ngspice/sharedspice.h
 lib/libngspice.la
-lib/libngspice.so
-lib/libngspice.so.0
-lib/libngspice.so.0.0.7
 lib/pkgconfig/ngspice.pc
+@pkgdir share/ngspice


Home | Main Index | Thread Index | Old Index