=> 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 R/nloptr_1.0.4.tar.gz
=> Checksum RMD160 OK for R/nloptr_1.0.4.tar.gz
=> Checksum SHA512 OK for R/nloptr_1.0.4.tar.gz
===> Installing dependencies for R-nloptr-1.0.4
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20171108
=> Full dependency R>=2.2.1nb2: found R-3.4.3
=> Full dependency nlopt>=2.4.2: found nlopt-2.4.2
===> Overriding tools for R-nloptr-1.0.4
===> Extracting for R-nloptr-1.0.4
===> Patching for R-nloptr-1.0.4
=> Applying pkgsrc patches for R-nloptr-1.0.4
=> Verifying /data/pkgsrc/math/R-nloptr/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/math/R-nloptr/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2016/04/17 04:09:44 wen Exp $
|Fix usage of conditionals in configure
|--- configure.orig	2015-11-28 07:01:04.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2953.
done
=> Fixing redirection of configure.
===> Creating toolchain wrappers for R-nloptr-1.0.4
===> Configuring for R-nloptr-1.0.4
=> Checking for portability problems in extracted files