Greetings,

I posted this update proposal last week, so this is a weekly ping.

On top of that, cwen@ submitted a patch upstream (see [1]) to unbreak the port for archs using old GNU binutils, which has been accepted and already merged in the code.

So I'm attaching an updated diff jumping to the latest release (this is the only modification added to those I described earlier).

Charlene, please double-check and let me know.

All the best

[1] https://github.com/RTimothyEdwards/netgen/issues/2

On 15/02/2020 - 18:42, Alessandro De Laurenzis wrote:
Greetings,

The attached diff updates cad/netgen to the latest release.


What's new upstream
===================
Plenty of new features and bug fixing, including:
- Expanded the verilog parser to handle most forms of allowable wire and assignment statements in verilog netlists, including assignment of signal bundles; - Added support in the verilog parser for definitions anywhere in the code using the backtick expression; - A fairly large refactoring of the conditional handling code in the verilog parser; - Added handling of backslash characters in instance names in the JSON output;
- added command "netgen::format " to set the output format width.


What's new in the port
======================
- updated maintainer email address;
- we need to add "--with-distdir=${PREFIX}" to CONFIGURE_ARGS (due to a recent upstream change related to distributed install);
- all other differences are trivial updates.


Lightly tested on amd64 only.

--
Alessandro De Laurenzis
[mailto:[email protected]]
Web: http://www.atlantide.mooo.com
LinkedIn: http://it.linkedin.com/in/delaurenzis
Index: Makefile
===================================================================
RCS file: /cvs/ports/cad/netgen/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile    12 Jul 2019 20:43:45 -0000      1.5
+++ Makefile    22 Feb 2020 07:41:25 -0000
@@ -1,15 +1,14 @@
 # $OpenBSD: Makefile,v 1.5 2019/07/12 20:43:45 sthen Exp $
 
 COMMENT =      tool for netlist comparison (LVS) and format manipulation
-DISTNAME =     netgen-1.5.118
+DISTNAME =     netgen-1.5.138
 EXTRACT_SUFX = .tgz
-REVISION =     2
 
 CATEGORIES =   cad
 
 HOMEPAGE =     http://opencircuitdesign.com/netgen/
 
-MAINTAINER =   Alessandro De Laurenzis <[email protected]>
+MAINTAINER =   Alessandro De Laurenzis <[email protected]>
 
 # GPLv1
 PERMIT_PACKAGE =       Yes
@@ -32,7 +31,8 @@ WRKCONF =             ${WRKSRC}/scripts
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ENV =                CPPFLAGS="-I${X11BASE}/include" \
                        CFLAGS="-std=gnu89 ${CFLAGS}"
-CONFIGURE_ARGS =       --with-tcl=${MODTCL_LIBDIR} \
+CONFIGURE_ARGS =       --with-distdir=${PREFIX} \
+                       --with-tcl=${MODTCL_LIBDIR} \
                        --with-tk=${MODTK_LIBDIR}
 
 USE_GMAKE =    Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/cad/netgen/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    20 Mar 2019 10:05:10 -0000      1.1.1.1
+++ distinfo    22 Feb 2020 07:41:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (netgen-1.5.118.tgz) = 9MgvhDqJwHDbLfNjCEnD0zNUlmTk7kiVhnHFrqjQvYk=
-SIZE (netgen-1.5.118.tgz) = 527097
+SHA256 (netgen-1.5.138.tgz) = ntRrH+USG0pPs/k7+1X7WiNIY8w1z6fG4WsimCPKiHg=
+SIZE (netgen-1.5.138.tgz) = 522205
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/cad/netgen/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile      20 Mar 2019 10:05:10 -0000      1.1.1.1
+++ patches/patch-Makefile      22 Feb 2020 07:41:25 -0000
@@ -20,8 +20,8 @@ Index: Makefile
  
 @@ -69,7 +67,7 @@ install-dirs:
  install-tcl: install-dirs
-       @echo --- installing executable to $(DESTDIR)${BINDIR}
-       @echo --- installing run-time files to $(DESTDIR)${LIBDIR}
+       @echo --- installing executable to $(DESTDIR)${INSTALL_BINDIR}
+       @echo --- installing run-time files to $(DESTDIR)${INSTALL_LIBDIR}
 -      @${MAKE} install-tcl-real 2>&1 >> install.log
 +      @${MAKE} install-tcl-real
  
Index: patches/patch-scripts_configure
===================================================================
RCS file: /cvs/ports/cad/netgen/patches/patch-scripts_configure,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-scripts_configure
--- patches/patch-scripts_configure     20 Mar 2019 10:05:10 -0000      1.1.1.1
+++ patches/patch-scripts_configure     22 Feb 2020 07:41:25 -0000
@@ -3,8 +3,8 @@ $OpenBSD: patch-scripts_configure,v 1.1.
 Index: scripts/configure
 --- scripts/configure.orig
 +++ scripts/configure
-@@ -6416,7 +6416,7 @@ fi
-       CFLAGS="${CFLAGS} -l/usr/X11R6/include"
+@@ -6437,7 +6437,7 @@ fi
+       CFLAGS="${CFLAGS} -L/usr/X11R6/include"
        ;;
  
 -    *-netbsd*|*-openbsd*)
@@ -12,7 +12,7 @@ Index: scripts/configure
        # Not available on all versions:  check for include file.
        ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" 
"$ac_includes_default"
  if test "x$ac_cv_header_dlfcn_h" = xyes; then :
-@@ -6432,6 +6432,11 @@ fi
+@@ -6453,6 +6453,11 @@ fi
        fi
        ;;
  
@@ -24,7 +24,7 @@ Index: scripts/configure
      *-nextstep*)
        LDDL_FLAGS="-nostdlib -r"
        ;;
-@@ -7791,16 +7796,5 @@ else
+@@ -7813,16 +7818,5 @@ else
     echo "   on your system."
     echo
  fi
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/cad/netgen/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   20 Mar 2019 10:05:10 -0000      1.1.1.1
+++ pkg/PLIST   22 Feb 2020 07:41:25 -0000
@@ -3,7 +3,7 @@ bin/netgen
 lib/netgen/
 lib/netgen/ntk2adl.sh
 lib/netgen/python/
-lib/netgen/python/${MODPY_PYCACHE}/
+${MODPY_COMMENT}lib/netgen/python/${MODPY_PYCACHE}/
 lib/netgen/python/${MODPY_PYCACHE}consoletext.${MODPY_PYC_MAGIC_TAG}pyc
 lib/netgen/python/${MODPY_PYCACHE}helpwindow.${MODPY_PYC_MAGIC_TAG}pyc
 lib/netgen/python/${MODPY_PYCACHE}lvs_manager.${MODPY_PYC_MAGIC_TAG}pyc
@@ -24,7 +24,7 @@ lib/netgen/tcl/
 lib/netgen/tcl/console.tcl
 lib/netgen/tcl/netgen.tcl
 @bin lib/netgen/tcl/netgenexec
-lib/netgen/tcl/tclnetgen.so
+@so lib/netgen/tcl/tclnetgen.so
 lib/netgen/tcl/tkcon.tcl
 share/doc/netgen/
 share/doc/netgen/netgen.doc

Reply via email to