=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for swi-prolog/pl-5.11.18.tar.gz
=> Checksum RMD160 OK for swi-prolog/pl-5.11.18.tar.gz
===> Installing dependencies for swi-prolog-lite-5.11.18
==========================================================================
The following variables will affect the build process of this package,
swi-prolog-lite-5.11.18.  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 their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency ncurses>=5.4nb1: found ncurses-5.9
=> Full dependency readline>=6.0: found readline-6.2
=> Full dependency gmp>=5.0.1: found gmp-5.0.5
===> Overriding tools for swi-prolog-lite-5.11.18
===> Extracting for swi-prolog-lite-5.11.18
===> Patching for swi-prolog-lite-5.11.18
=> Applying pkgsrc patches for swi-prolog-lite-5.11.18
===> Creating toolchain wrappers for swi-prolog-lite-5.11.18
===> Configuring for swi-prolog-lite-5.11.18
=> 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
=> Replacing swipl interpreter in library/dialect/sicstus/swipl-lfr.pl.
=> Replacing bash interpreter in dotfiles/edit.
=> Checking for portability problems in extracted files
checking builddir... src
checking for x86_64-unknown-linux-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 for x86_64-unknown-linux-ranlib... no
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gmake... make
checking "whether make is GNU-make"... yes
checking "whether mkdir accepts -p"... yes
checking for ar... ar
checking for chrpath... :
checking for emacs-etags... no
checking for etags... no
checking for ctags... no
checking for gawk... /usr/bin/awk
checking for sed... /bin/sed
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g pbulk
checking how to run the C preprocessor... gcc -E
checking for library containing strerror... none required
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for ANSI C header files... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for inline... inline
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 for working alloca.h... yes
checking for alloca... yes
checking whether byte ordering is bigendian... no
checking whether __attribute__((visibility())) is supported... yes
checking Script arguments... does not breakdown arguments
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dladdr... yes
checking "whether LDFLAGS need -rdynamic"... yes
checking "whether gcc supports -pthread"... yes
checking for sem_init in -lrt... yes
checking for sem_init... yes
checking for pthread_mutexattr_setkind_np... yes
checking for pthread_mutexattr_settype... yes
checking for pthread_kill... yes
checking "whether mutex support recursive locking"... yes
checking for pthread_sigmask... yes
checking for pthread_setconcurrency... yes
checking for main in -lm... yes
checking for main in -lncursesw... no
checking for main in -lncurses... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking ncurses/term.h usability... yes
checking ncurses/term.h presence... yes
checking for ncurses/term.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses/curses.h usability... yes
checking ncurses/curses.h presence... yes
checking for ncurses/curses.h... yes
checking for main in -lreadline... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for rl_completion_matches... yes
checking for rl_insert_close... yes
checking for rl_set_prompt... yes
checking for rl_clear_pending_input... yes
checking for rl_cleanup_after_signal... yes
checking for rl_filename_completion_function... yes
checking for rl_readline_state... yes
checking for rl_done... yes
checking for rl_event_hook... yes
checking for cc -c -o... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking mach-o/rld.h usability... no
checking mach-o/rld.h presence... no
checking for mach-o/rld.h... no
checking mach/thread_act.h usability... no
checking mach/thread_act.h presence... no
checking for mach/thread_act.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking SupportDefs.h usability... no
checking SupportDefs.h presence... no
checking for SupportDefs.h... no
checking for access... yes
checking for fchmod... yes
checking for chmod... yes
checking for dossleep... no
checking for fstat... yes
checking for readlink... yes
checking for getwd... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for getpwnam... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for opendir... yes
checking for sysconf... yes
checking for popen... yes
checking for putenv... yes
checking for random... yes
checking for remove... yes
checking for rename... yes
checking for select... yes
checking for fcntl... yes
checking for getrusage... yes
checking for signal... yes
checking for sigset... yes
checking for sigprocmask... yes
checking for sleep... yes
checking for usleep... yes
checking for srand... yes
checking for srandom... yes
checking for stat... yes
checking for memmove... yes
checking for stricmp... no
checking for strlwr... no
checking for sigaction... yes
checking for sigsetmask... yes
checking for siggetmask... yes
checking for sigblock... yes
checking for rint... yes
checking for aint... no
checking for floor... yes
checking for ceil... yes
checking for isnan... yes
checking for isinf... yes
checking for tcsetattr... yes
checking for cfmakeraw... yes
checking for getpid... yes
checking for strerror... yes
checking for tgetent... yes
checking for times... yes
checking for unsetenv... yes
checking for grantpt... yes
checking for nanosleep... yes
checking for waitpid... yes
checking for setlocale... yes
checking for fpgetmask... no
checking for fpresetsticky... no
checking for mtrace... yes
checking for localtime_r... yes
checking for mmap... yes
checking for confstr... yes
checking for strcasecmp... yes
checking for mbscoll... no
checking for mbscasecoll... no
checking for fpclassify... no
checking for fpclass... no
checking for setenv... yes
checking for posix_openpt... yes
checking for wcsxfrm... yes
checking for sysctlbyname... no
checking for mbsnrtowcs... yes
checking for mallinfo... yes
checking for ftruncate... yes
checking whether mbsnrtowcs is declared... no
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for intptr_t... yes
checking "whether unsetenv is void"... no
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for syscall... yes
checking whether <sys/syscall.h> has __NR_gettid... yes
checking for syscall support for gettid... yes
checking for clock_gettime in -lrt... yes
checking for clock_gettime... yes
checking for pthread support for cpu clocks... yes
checking for sysconf support for _SC_NPROCESSORS_CONF... yes
checking size of void*... 8
checking size of long... 8
checking size of int... 4
checking size of long long... 8
checking size of wchar_t... 4
checking for main in -lgmp... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking "variable timezone in tzset"... yes
checking for struct tm.tm_gmtoff... yes
checking "Boot filename"... boot64.prc
checking "fcntl based locking"... yes
checking "alignment restrictions on doubles"... as void*
checking "alignment restrictions on int64_t"... as void*
checking "unaligned access"... not allowed
checking "type rlim_t"... yes
checking "ru_idrss in struct rusage"... yes
checking "whether assert.h needs stdio.h"... no
configure: checking "for including sys/ioctl.h after sys/termios.h"...
checking "for type uchar"... "need typedef uchar"
checking "whether we need extern int errno"... no
checking "for symbolic links"... yes
checking return type of signal handlers... void
checking "for BSD signal handlers"... "BSD signals"
checking "for SIGPROF profiler support"... (1926 interrupts) yes
checking "for union wait"... yes
checking "for tagged lvalues"... yes
checking "for label addresses"... yes
checking "memory model"... yes
checking "for nop"... yes
checking "whether mmap maps regular files"... yes
checking siginfo.h usability... no
checking siginfo.h presence... no
checking for siginfo.h... no
checking "for SA_SIGINFO"... yes
	CFLAGS=-Wall -O2 -fno-strict-aliasing -O3 -pipe -fstack-protector -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include  -pthread -fPIC
	LDFLAGS=-rdynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -pthread -Wl,-rpath=${exec_prefix}/lib/swi-prolog-5.11.18/lib/x86_64-unknown-linux
	LIBS=-lgmp -lrt -lreadline -lncurses -lm -lrt -ldl 
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating rc/Makefile
config.status: creating libtai/Makefile
config.status: creating swipl.1
config.status: creating swipl.sh
config.status: creating swipl.pc
config.status: creating ../man/Makefile
config.status: creating ../packages/Makefile
config.status: creating ../packages/swipl-ld.sh
config.status: creating ../packages/swipl.sh
config.status: creating ../packages/configure
config.status: creating ../packages/Makefile.defs
config.status: WARNING:  '../packages/Makefile.defs.in' seems to ignore the --datarootdir setting
config.status: creating ../packages/Dialect.defs
config.status: creating config.h
config.status: executing exe commands
****************************************************************
* Now type the following to make and install the basic environment
*
*	% make
*	% make install
*
* To complete the environment, goto the packages directory and check
* the README file for further instructions.
****************************************************************