=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for xcircuit-3.9.72.tgz
=> Checksum RMD160 OK for xcircuit-3.9.72.tgz
=> Checksum SHA512 OK for xcircuit-3.9.72.tgz
===> Installing dependencies for xcircuit-3.9.72nb2
=> Tool dependency gmake>=3.81: found gmake-4.1nb4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.13
=> Build dependency xorgproto>=2016.1: found xorgproto-2018.4
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency ghostscript>=6.01: found ghostscript-9.05nb13
=> Full dependency tcl>=8.6.1nb1: found tcl-8.6.8nb1
=> Full dependency cairo>=1.14.12nb1: found cairo-1.14.12nb1
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.12nb1
=> Full dependency libXt>=1.0.0: found libXt-1.1.5nb1
=> Full dependency tk>=8.6.8nb1: found tk-8.6.8nb1
===> Overriding tools for xcircuit-3.9.72nb2
===> Extracting for xcircuit-3.9.72nb2
/bin/mv -f /data/scratch/cad/xcircuit/work/xcircuit-3.9.72/examples/.xcircuitrc /data/scratch/cad/xcircuit/work/xcircuit-3.9.72/examples/xcircuitrc
/usr/bin/touch /data/scratch/cad/xcircuit/work/xcircuit-3.9.72/menudep.h
===> Patching for xcircuit-3.9.72nb2
=> Applying pkgsrc patches for xcircuit-3.9.72nb2
=> Verifying /data/pkgsrc/cad/xcircuit/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/cad/xcircuit/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.12 2018/02/07 11:58:31 hauke Exp $
|
|Hunt down, stomp out and eradicate bashisms.
|
|--- configure.in.orig	2016-07-21 15:18:45.000000000 +0000
|+++ configure.in
--------------------------
Patching file configure.in using Plan A...
Hunk #1 succeeded at 286.
Hunk #2 succeeded at 314.
Hunk #3 succeeded at 558.
Hunk #4 succeeded at 595.
Hunk #5 succeeded at 640.
Hunk #6 succeeded at 680.
Hunk #7 succeeded at 709.
Hunk #8 succeeded at 721.
Hunk #9 succeeded at 814.
Hunk #10 succeeded at 1141.
Hunk #11 succeeded at 1154.
done
=> Verifying /data/pkgsrc/cad/xcircuit/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/cad/xcircuit/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.14 2018/02/07 11:58:31 hauke Exp $
|
|Hunt down, stomp out and eradicate bashisms.
|
|--- configure.orig	2016-07-21 15:18:45.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 6371.
Hunk #2 succeeded at 6715.
Hunk #3 succeeded at 6982.
Hunk #4 succeeded at 7019.
Hunk #5 succeeded at 7064.
Hunk #6 succeeded at 7104.
Hunk #7 succeeded at 7133.
Hunk #8 succeeded at 7145.
Hunk #9 succeeded at 7239.
Hunk #10 succeeded at 9048.
Hunk #11 succeeded at 9061.
done
=> Verifying /data/pkgsrc/cad/xcircuit/patches/patch-lib_tcl_xcircuit.sh.in
=> Applying pkgsrc patch /data/pkgsrc/cad/xcircuit/patches/patch-lib_tcl_xcircuit.sh.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_tcl_xcircuit.sh.in,v 1.1 2018/02/08 09:43:32 hauke Exp $
|
|TERM may be empty, resulting in a spurious
|[: cygwin: unexpected operator
|
|--- lib/tcl/xcircuit.sh.in.orig	2014-05-17 14:15:47.000000000 +0000
|+++ lib/tcl/xcircuit.sh.in
--------------------------
Patching file lib/tcl/xcircuit.sh.in using Plan A...
Hunk #1 succeeded at 11.
done
===> Creating toolchain wrappers for xcircuit-3.9.72nb2
===> Configuring for xcircuit-3.9.72nb2
=> Generating pkg-config file for builtin expat package.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
/data/scratch/cad/xcircuit/work/xcircuit-3.9.72/missing: Unknown `--is-lightweight' option
Try `/data/scratch/cad/xcircuit/work/xcircuit-3.9.72/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64--netbsd-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... none
checking for library containing strerror... none required
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/bin/m4
checking for sin in -lm... yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XtToolkitInitialize in -lXt... yes
checking for ANSI C header files... (cached) yes
checking for setenv... yes
checking for putenv... yes
checking for vfork... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for 64-bit X11 libraries... checking for /usr/X11R6/lib64... no
checking if -Wno-pointer-sign accepted in CFLAGS... yes
checking for deflate in -lz... yes
checking for va_copy... yes
checking for __va_copy... yes
checking if u_char defined... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmCreateImageFromData in -lXpm... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking pkg-config is at least version 0.9.0... yes
checking for cairo... yes
checking for fontconfig... yes
checking ghostscript/gdevdsp.h usability... no
checking ghostscript/gdevdsp.h presence... no
checking for ghostscript/gdevdsp.h... no
configure: WARNING: Building xcircuit without ghostscript rendering
configure: WARNING: Install the ghostscript-devel package to solve this
checking for tclConfig.sh... /usr/pkg/lib/tclConfig.sh
checking for tkConfig.sh... /usr/pkg/lib/tkConfig.sh
checking for wish executable... /usr/pkg/bin/wish
checking for gs... gs
checking for ngspice... ngspice
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Xw/Makefile
config.status: creating asg/Makefile
config.status: creating spiceparser/Makefile
config.status: executing depfiles commands

Configuration results:
----------------------------------------------------

Using Tcl/Tk interface

Using Cairo graphics

CFLAGS=-O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -Wno-pointer-sign -fPIC