ERROR: This package is broken except on these platforms: Darwin-*-powerpc  FreeBSD-*-i386  NetBSD-*-x86_64  SunOS-*-i386  SunOS-*-x86_64.
ERROR: This package has set PKG_FAIL_REASON:
ERROR: internal error: unsupported platform
ERROR: ghc-7.10.3nb8 is marked broken on NetBSD-9.0-sparc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/ghc7