+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jed-0.99.19/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jed-0.99.19/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for jed-0.99-19.tar.bz2
=> Checksum SHA512 OK for jed-0.99-19.tar.bz2
===> Installing dependencies for jed-0.99.19
==========================================================================
The following variables will affect the build process of this package,
jed-0.99.19.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libslang2>=2.2.4nb3: found libslang2-2.2.4nb4
=> Full dependency ncurses>=6.3nb1: found ncurses-6.4
===> Overriding tools for jed-0.99.19
===> Extracting for jed-0.99.19
===> Patching for jed-0.99.19
=> Applying pkgsrc patches for jed-0.99.19
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-autoconf_configure.ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-autoconf_configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-autoconf_configure.ac,v 1.1 2023/12/19 23:56:00 gdt Exp $
|
|Add in stropts library
|
|--- autoconf/configure.ac.orig	2023-11-29 01:48:10.235315068 +0000
|+++ autoconf/configure.ac
--------------------------
Patching file autoconf/configure.ac using Plan A...
Hunk #1 succeeded at 33.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.1 2023/12/19 23:56:00 gdt Exp $
|
|Change jed's root into the pkg share dir.
|
|--- src/Makefile.in.orig	2009-12-14 02:12:55.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 14.
Hunk #2 succeeded at 207.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-src_config.hin
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-src_config.hin
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_config.hin,v 1.2 2023/12/19 23:56:00 gdt Exp $
|
|Remove Undefined of HAVE_SYS_STROPTS_H
|
|--- src/config.hin.orig	2023-11-29 01:54:22.766379393 +0000
|+++ src/config.hin
--------------------------
Patching file src/config.hin using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-src_jprocess.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-src_jprocess.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_jprocess.c,v 1.1 2023/12/19 23:56:00 gdt Exp $
|
|If not FreeBSD, don't use PTY
|
|--- src/jprocess.c.orig	2004-03-18 16:39:02.000000000 +0000
|+++ src/jprocess.c	2004-03-18 16:39:57.000000000 +0000
--------------------------
Patching file src/jprocess.c using Plan A...
Hunk #1 succeeded at 58.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-src_pty.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jed/patches/patch-src_pty.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_pty.c,v 1.1 2023/12/19 23:56:00 gdt Exp $
|
|Only do the I_PUSH stuff if it's defined.
|
|--- src/pty.c.orig	2009-12-14 02:12:55.000000000 +0000
|+++ src/pty.c
--------------------------
Patching file src/pty.c using Plan A...
Hunk #1 succeeded at 19.
Hunk #2 succeeded at 243.
Hunk #3 succeeded at 264.
done
===> Creating toolchain wrappers for jed-0.99.19
===> Configuring for jed-0.99.19
=> 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-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking whether make sets $(MAKE)... yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for AIX... no
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for library containing strerror... none required
checking C compiler that understands ANSI prototypes... gcc looks ok.  Good.
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking pkg-config is at least version 0.14.0... no
checking for X... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for memory.h... (cached) yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/pty.h usability... no
checking sys/pty.h presence... no
checking for sys/pty.h... no
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for openpty in -lutil... no
checking for memset... yes
checking for memcpy... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for getcwd... yes
checking for setsid... yes
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for cfgetospeed... yes
checking for grantpt... yes
checking for setlocale... yes
checking for utime... yes
checking for symlink... yes
checking for gethostname... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for getpgid... yes
checking for setpgid... yes
checking for openpty... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for long long... yes
checking for long long... (cached) yes
checking size of long long... 8
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for off_t... yes
checking for off_t... (cached) yes
checking size of off_t... 8
checking for ncurses5-config... no
checking for ncurses5w-config... (cached) no
checking for terminfo... yes
checking for the slang library and header files ... yes: /opt/pkg/lib and /opt/pkg/include
checking for XftFontOpen in -lXft... no
checking for Gpm_Open in -lgpm... no
checking for GTK... GTK dir: 
checking for gtk+-2.0 version >= 2.8.0... no
CFlags: 
Libraries: 
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/sysconf.h

You will need to edit src/Makefile if any of the following are not correct:
        CC = gcc
    CFLAGS = -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include
   LDFLAGS = -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 
  JED_ROOT = /opt/pkg/jed

Also edit src/Makefile to enable:
  GPM Mouse support (Linux)
You may also want to edit src/jed-feat.h to enable or disable some features.

Before typing 'make', type 'make clean' first.