=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [bsd.prefs.mk] The package nhc98-1.18nb2 is missing DESTDIR support.
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for nhc98src-1.18.tar.gz
=> Checksum RMD160 OK for nhc98src-1.18.tar.gz
=> Checksum SHA1 OK for nhc98-1.18-library-interfaces.tar.gz
=> Checksum RMD160 OK for nhc98-1.18-library-interfaces.tar.gz
===> Installing dependencies for nhc98-1.18nb2
=> Tool dependency gmake>=3.81: found gmake-3.82nb7
=> Tool dependency checkperms>=1.1: found checkperms-1.11
===> Overriding tools for nhc98-1.18nb2
===> Extracting for nhc98-1.18nb2
===> Patching for nhc98-1.18nb2
=> Applying pkgsrc patches for nhc98-1.18nb2
=> Verifying /usr/pkgsrc/lang/nhc98/patches/patch-aa
=> Applying pkgsrc patch /usr/pkgsrc/lang/nhc98/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.7 2005/05/12 17:53:29 kristerw Exp $
|
|--- configure.orig	Fri Mar 11 10:32:56 2005
|+++ configure	Wed May 11 20:49:48 2005
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 42.
Hunk #2 succeeded at 382.
Hunk #3 succeeded at 405.
done
=> Verifying /usr/pkgsrc/lang/nhc98/patches/patch-ab
=> Applying pkgsrc patch /usr/pkgsrc/lang/nhc98/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.3 2005/06/24 23:58:18 kristerw Exp $
|
|--- src/prelude/BinArray/cLowUnboxedArray.c.orig	2005-06-04 18:13:50.000000000 +0000
|+++ src/prelude/BinArray/cLowUnboxedArray.c	2005-06-04 18:14:03.000000000 +0000
--------------------------
Patching file src/prelude/BinArray/cLowUnboxedArray.c using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /usr/pkgsrc/lang/nhc98/patches/patch-ag
=> Applying pkgsrc patch /usr/pkgsrc/lang/nhc98/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.2 2005/05/01 22:55:07 kristerw Exp $
|
|--- src/compiler98/RenameLib.hs	22 Dec 2004 12:58:35 -0000	1.31
|+++ src/compiler98/RenameLib.hs	11 Apr 2005 14:24:49 -0000
--------------------------
Patching file src/compiler98/RenameLib.hs using Plan A...
Hunk #1 succeeded at 216.
done
=> Verifying /usr/pkgsrc/lang/nhc98/patches/patch-ah
=> Applying pkgsrc patch /usr/pkgsrc/lang/nhc98/patches/patch-ah
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ah,v 1.2 2005/05/01 22:55:07 kristerw Exp $
|
|--- Makefile.orig	2005-04-21 22:10:31.000000000 +0200
|+++ Makefile	2005-04-21 22:16:30.000000000 +0200
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 140.
Hunk #2 succeeded at 186.
Hunk #3 succeeded at 309.
done
===> Creating toolchain wrappers for nhc98-1.18nb2
===> Configuring for nhc98-1.18nb2
=> Checking for portability problems in extracted files
Configuring for nhc98... [ v1.18 (2005-03-11 version) ]
--------
Looking for already-installed Haskell compilers:
  Found C compiler:    /scratch/lang/nhc98/work/.wrapper/bin/cc
  C compiler version:  gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb3 20111107)
  Looking for hbc...   (not found)
  Note: LMLDIR/HBCDIR variables must be set to enable detection of hbc.
  Looking for ghc...   (not found)
  Looking for nhc98... (not found)
You said you want to use gcc to build hmake.
  Now I'm creating targets/ix86-NetBSD/hmake3.config for your installation.
Done.
--------
                   Configuration report for nhc98.
    (You can re-run configure to change settings before proceeding.)
You wish (eventually) to install the following components in these locations:
    (Installation directories are not created/checked at this stage.)
Final install root:   /usr/pkg
nhc98 binaries/libs:  /usr/pkg/lib/nhc98/ix86-NetBSD
hmake binaries:       /usr/pkg/lib/hmake/ix86-NetBSD
Interfaces/includes:  /usr/pkg/include/nhc98
Scripts:              /usr/pkg/bin
Man pages:            /usr/pkg/man/man1
Html documents:       /usr/pkg/share/doc/nhc98

Now we check/create your build directories:
Config directory:      targets/ix86-NetBSD
Build directory root:
    /scratch/lang/nhc98/work/nhc98-1.18/targets (exists)
Object files build in:
    /scratch/lang/nhc98/work/nhc98-1.18/targets/ix86-NetBSD (exists)
Executables and libs:
    /scratch/lang/nhc98/work/nhc98-1.18/lib/ix86-NetBSD (created)

You are going to build nhc98 with:          gcc
nhc98comp uses RTS delimiters?              yes
This machine's endian-ness is:              -DLOW_BYTE_FIRST (detected) 
Executables need .exe suffix?               no  (detected)
Found /usr/bin/true not /bin/true
Testing for the curses library:             -lncurses (detected) 
Testing for the readline library:           no  (detected)
Reading /usr/include/errno.h: script/config-errno.c: In function 'main':
script/config-errno.c:593: warning: incompatible implicit declaration of built-in function 'printf'
script/config-errno.c:691: warning: incompatible implicit declaration of built-in function 'exit'
script/errnogen.c: In function 'main':
script/errnogen.c:1289: warning: incompatible implicit declaration of built-in function 'printf'
script/errnogen.c:1404: warning: incompatible implicit declaration of built-in function 'exit'
              updated DErrNo.hs
Default heap for compiled programs is: 100000 words (cached) 

Adding Makefile config script to
    /scratch/lang/nhc98/work/nhc98-1.18/lib/ix86-NetBSD...
cat: targets/ix86-NetBSD/ghcsym: No such file or directory
Adding build scripts to
    /scratch/lang/nhc98/work/nhc98-1.18/script...    
    nhc98 hmake hmake-config hi greencard hsc2hs cpphs 
Creating src/runtime/nhc98heap.c ...
Updating targets/ix86-NetBSD/hmake3.config...
fullname: not found
Saving current configuration in targets/ix86-NetBSD/config.cache
Done.