###
### Mon Aug 8 07:38:59 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for hylafax-4.2.1
### Current pkg count:  14 installed packages: digest-20050323 gettext-lib-0.11.5nb4 ghostscript-fonts-8.11 ghostscript-gnu-8.15 gmake-3.80nb4 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pkg_install-info-4.5nb3 png-1.2.8 tcl-8.4.9 tk-8.4.9 x11-links-0.25 xpm-3.4knb4 zlib-1.2.3
###
BULK> Full rebuild in progress...
BULK> Cleaning package hylafax-4.2.1 and pre-requisite packages
===> Cleaning for hylafax-4.2.1
===> Cleaning for zlib-1.2.3
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for jpeg-6bnb3
===> Cleaning for tiff-3.7.2nb1
===> Cleaning for mawk-1.3.3
===> Cleaning for ghostscript-gnu-8.15
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for ghostscript-fonts-8.11
===> Cleaning for png-1.2.8
===> Cleaning for x11-links-0.25
BULK> Removing installed packages which are not needed to build hylafax-4.2.1
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xpm-3.4knb4
BULK> hylafax-4.2.1 requires installed package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) to build.
BULK> hylafax-4.2.1 requires installed package x11-links-0.25 (pkgtools/x11-links) to build.
BULK> hylafax-4.2.1 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> hylafax-4.2.1 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r tcl-8.4.9
BULK> hylafax-4.2.1 requires installed package ghostscript-fonts-8.11 (fonts/ghostscript-fonts) to build.
BULK> hylafax-4.2.1 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
BULK> hylafax-4.2.1 requires installed package zlib-1.2.3 (devel/zlib) to build.
BULK> hylafax-4.2.1 requires installed package gmake-3.80nb4 (devel/gmake) to build.
BULK> hylafax-4.2.1 requires installed package png-1.2.8 (graphics/png) to build.
BULK> hylafax-4.2.1 requires installed package ghostscript-gnu-8.15 (print/ghostscript-gnu) to build.
BULK> Installing packages which are required to build hylafax-4.2.1.
BULK> Required package zlib-1.2.3 (devel/zlib) is already installed
BULK> Required package libtool-base-1.5.18nb3 (devel/libtool-base) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/jpeg-6bnb3.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/tiff-3.7.2nb1.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/mawk-1.3.3.tgz
BULK> Required package ghostscript-gnu-8.15 (print/ghostscript-gnu) is already installed
BULK> Required package gmake-3.80nb4 (devel/gmake) is already installed
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK> Required package ghostscript-fonts-8.11 (fonts/ghostscript-fonts) is already installed
BULK> Required package png-1.2.8 (graphics/png) is already installed
BULK> Required package x11-links-0.25 (pkgtools/x11-links) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (hylafax-4.2.1)
===> Checking for vulnerabilities in hylafax-4.2.1
=> Checksum SHA1 OK for hylafax/hylafax-4.2.1.tar.gz.
=> Checksum RMD160 OK for hylafax/hylafax-4.2.1.tar.gz.
work -> /pkgobj/comms/hylafax/work
===> Extracting for hylafax-4.2.1
===> Required installed package mawk>=1.2.2: mawk-1.3.3 found
===> Required installed package {ghostscript-esp>=6.01,ghostscript-esp-nox11>=6.01,ghostscript-gnu>=6.01,ghostscript-gnu-x11>=6.01,ghostscript-gnu-nox11>=6.01,ghostscript>=6.01,ghostscript-nox11>=6.01}: ghostscript-gnu-8.15 found
===> Required installed package tiff>=3.7.2nb1: tiff-3.7.2nb1 found
===> Required installed package zlib>=1.2.3: zlib-1.2.3 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
===> Patching for hylafax-4.2.1
===> Applying pkgsrc patches for hylafax-4.2.1
===> Overriding tools for hylafax-4.2.1
===> Creating toolchain wrappers for hylafax-4.2.1
===> Configuring for hylafax-4.2.1

Configuring HylaFAX (tm) (aka FlexFAX) 4.2.1.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
Do they really still make sparc-sun-solaris2.8 systems?!
Using /usr/ucb/cc for a C compiler (set CC to override).
Looks like /usr/ucb/cc supports the -g option.
... but not together with the -O option, not using it.
Looks like /usr/ucb/cc has a non-ANSI C preprocessor, will try to compensate.
Looks like /usr/ucb/cc does not support the -M option for generating
make dependencies; will disable automatic make dependency building.
Using /pkgobj/comms/hylafax/work/.wrapper/bin/CC for a C++ compiler (set CXX to override).
Looks like /pkgobj/comms/hylafax/work/.wrapper/bin/CC supports the -g option.
Using " -g" for C++ compiler options.
Looks like /pkgobj/comms/hylafax/work/.wrapper/bin/CC has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /usr/pkg/bin/bmake to configure the software.
Using "include file" syntax for Makefiles.
Using /usr/5bin/bash to process command scripts.
Looks like -lmalloc is here, using it for memory allocation.
Checking for PAM (Pluggable Authentication Module) support
... not found. Disabling PAM support
Looks like -lm is the library for math functions.

Creating port.h with necessary definitions.
... open FIFO files read+write to avoid select bug
... enable workaround for FIFO select bug
... using call-by-reference for TIOCMBIS ioctl
... constrain client IDs to be <= 60002
... configure use of 
... use (SIG_PF) for sigaction handler type
... use (SIG_PF) for signal handler type
... add function prototype for bzero
... configure use of sysconf
... configure use of ulimit
... configure use of getdtablesize
... add #define for _POSIX_OPEN_MAX
... add #define for howmany
... add function prototype for sigvec
... configure use of fchown
... configure use of fchmod
... add #define for LOCK_SH
... add #define for LOCK_EX
... add #define for LOCK_NB
... add #define for LOCK_UN
... add function prototype for flock
... configure use of  (for SVR4-style lock files)
... configure use of  (internationalization support)
... configure use of SVR4 termiox support
... add #define for _PATH_DEV
... add #define for _PATH_DEVNULL
... add #define for _PATH_TMP
... configure use of  (extended utmp interface)
... configure use of 
... checking TIFF library version

Missing TIFF Library.

Compilation of the following test program failed:

----------------------------------------------------------
#include 
#include "tiffio.h"
main()
{
    printf( "header_ver=%d lib_ver=%s", TIFFLIB_VERSION, TIFFGetVersion() );
    exit(0);
}
----------------------------------------------------------

TIFFINC=/usr/pkg/include
LIBTIFF=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltiff -ljpeg -lz -lm

Verify that you have the TIFFINC and LIBTIFF configuration parameters
set correctly for your system (see above) and that any environment
variables are setup that are needed to locate a libtiff DSO at runtime
(e.g. LD_LIBRARY_PATH). Also be sure that any relative pathnames are
made relative to the top of the build area.

Unrecoverable error!  Once you've corrected the problem rerun this script.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/comms/hylafax
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/comms/hylafax/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/comms/hylafax

Please view the work log for hylafax-4.2.1


BULK> hylafax-4.2.1 was marked as broken:
-rw-r--r--   1 root     other       8216 Aug  8 07:42 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for hylafax
BULK> Marking all packages which depend upon hylafax-4.2.1 as broken:
BULK> marking package that requires hylafax-4.2.1 as broken: tkhylafax-3.1nb3 (comms/tkhylafax)
BULK> Build for hylafax-4.2.1 was not successful, aborting.