aboutsummaryrefslogtreecommitdiff
path: root/devel/libexplain
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-05-31 11:12:24 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-05-31 11:12:24 +0000
commit68dd80208d012d02d8e9e70cc6ad83bfd630f183 (patch)
tree608e7108e6e6e7062df1fee8b10a4afd91a7cd3f /devel/libexplain
parent5e1d7994444cc689bfc14fe2d662cf8db1691181 (diff)
downloadports-68dd80208d012d02d8e9e70cc6ad83bfd630f183.tar.gz
ports-68dd80208d012d02d8e9e70cc6ad83bfd630f183.zip
Notes
Diffstat (limited to 'devel/libexplain')
-rw-r--r--devel/libexplain/Makefile11
-rw-r--r--devel/libexplain/Makefile.man792
-rw-r--r--devel/libexplain/distinfo4
-rw-r--r--devel/libexplain/files/patch-Makefile.in21
-rw-r--r--devel/libexplain/files/patch-codegen-gram.y10
-rw-r--r--devel/libexplain/files/patch-libexplain__buffer__hostent.c13
-rw-r--r--devel/libexplain/pkg-plist6
7 files changed, 424 insertions, 433 deletions
diff --git a/devel/libexplain/Makefile b/devel/libexplain/Makefile
index 9fe460a73ab7..d78b4d12fa91 100644
--- a/devel/libexplain/Makefile
+++ b/devel/libexplain/Makefile
@@ -2,11 +2,9 @@
# $FreeBSD$
PORTNAME= libexplain
-PORTVERSION= 1.1
-DISTVERSIONSUFFIX= .D001
+PORTVERSION= 1.2
CATEGORIES= devel
-MASTER_SITES= http://libexplain.sourceforge.net/ \
- CRITICAL
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Library which may be used to explain Unix and Linux system call errors
@@ -28,7 +26,8 @@ MAKE_JOBS_SAFE= yes
.include "Makefile.man"
post-patch:
- ${REINPLACE_CMD} -e "s|sed '|gsed '|g" -e 's|sleep 1|true|' \
- ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|sed -e|gsed -e|g' -e 's|\ sed\ | gsed |g' \
+ -e '/@sleep 1/d' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
diff --git a/devel/libexplain/Makefile.man b/devel/libexplain/Makefile.man
index ee1ce287b5b4..9fc3be70e783 100644
--- a/devel/libexplain/Makefile.man
+++ b/devel/libexplain/Makefile.man
@@ -1,393 +1,399 @@
-MAN1= explain.1 explain_lca2010.1 explain_license.1
-MAN3= explain.3
-MAN3+= explain_accept.3
-MAN3+= explain_accept4.3
-MAN3+= explain_accept4_or_die.3
-MAN3+= explain_accept_or_die.3
-MAN3+= explain_access.3
-MAN3+= explain_access_or_die.3
-MAN3+= explain_acct.3
-MAN3+= explain_acct_or_die.3
-MAN3+= explain_adjtime.3
-MAN3+= explain_adjtime_or_die.3
-MAN3+= explain_adjtimex.3
-MAN3+= explain_adjtimex_or_die.3
-MAN3+= explain_bind.3
-MAN3+= explain_bind_or_die.3
-MAN3+= explain_calloc.3
-MAN3+= explain_calloc_or_die.3
-MAN3+= explain_chdir.3
-MAN3+= explain_chdir_or_die.3
-MAN3+= explain_chmod.3
-MAN3+= explain_chmod_or_die.3
-MAN3+= explain_chown.3
-MAN3+= explain_chown_or_die.3
-MAN3+= explain_chroot.3
-MAN3+= explain_chroot_or_die.3
-MAN3+= explain_close.3
-MAN3+= explain_close_or_die.3
-MAN3+= explain_closedir.3
-MAN3+= explain_closedir_or_die.3
-MAN3+= explain_connect.3
-MAN3+= explain_connect_or_die.3
-MAN3+= explain_creat.3
-MAN3+= explain_creat_or_die.3
-MAN3+= explain_dirfd.3
-MAN3+= explain_dirfd_or_die.3
-MAN3+= explain_dup.3
-MAN3+= explain_dup2.3
-MAN3+= explain_dup2_or_die.3
-MAN3+= explain_dup_or_die.3
-MAN3+= explain_eventfd.3
-MAN3+= explain_eventfd_or_die.3
-MAN3+= explain_execlp.3
-MAN3+= explain_execlp_or_die.3
-MAN3+= explain_execve.3
-MAN3+= explain_execve_or_die.3
-MAN3+= explain_execvp.3
-MAN3+= explain_execvp_or_die.3
-MAN3+= explain_exit.3
-MAN3+= explain_fchdir.3
-MAN3+= explain_fchdir_or_die.3
-MAN3+= explain_fchmod.3
-MAN3+= explain_fchmod_or_die.3
-MAN3+= explain_fchown.3
-MAN3+= explain_fchown_or_die.3
-MAN3+= explain_fclose.3
-MAN3+= explain_fclose_or_die.3
-MAN3+= explain_fcntl.3
-MAN3+= explain_fcntl_or_die.3
-MAN3+= explain_fdopen.3
-MAN3+= explain_fdopen_or_die.3
-MAN3+= explain_fdopendir.3
-MAN3+= explain_fdopendir_or_die.3
-MAN3+= explain_feof.3
-MAN3+= explain_feof_or_die.3
-MAN3+= explain_ferror.3
-MAN3+= explain_ferror_or_die.3
-MAN3+= explain_fflush.3
-MAN3+= explain_fflush_or_die.3
-MAN3+= explain_fgetc.3
-MAN3+= explain_fgetc_or_die.3
-MAN3+= explain_fgetpos.3
-MAN3+= explain_fgetpos_or_die.3
-MAN3+= explain_fgets.3
-MAN3+= explain_fgets_or_die.3
-MAN3+= explain_fileno.3
-MAN3+= explain_fileno_or_die.3
-MAN3+= explain_flock.3
-MAN3+= explain_flock_or_die.3
-MAN3+= explain_fopen.3
-MAN3+= explain_fopen_or_die.3
-MAN3+= explain_fork.3
-MAN3+= explain_fork_or_die.3
-MAN3+= explain_fpathconf.3
-MAN3+= explain_fpathconf_or_die.3
-MAN3+= explain_fprintf.3
-MAN3+= explain_fprintf_or_die.3
-MAN3+= explain_fpurge.3
-MAN3+= explain_fpurge_or_die.3
-MAN3+= explain_fputc.3
-MAN3+= explain_fputc_or_die.3
-MAN3+= explain_fputs.3
-MAN3+= explain_fputs_or_die.3
-MAN3+= explain_fread.3
-MAN3+= explain_fread_or_die.3
-MAN3+= explain_freopen.3
-MAN3+= explain_freopen_or_die.3
-MAN3+= explain_fseek.3
-MAN3+= explain_fseek_or_die.3
-MAN3+= explain_fsetpos.3
-MAN3+= explain_fsetpos_or_die.3
-MAN3+= explain_fstat.3
-MAN3+= explain_fstat_or_die.3
-MAN3+= explain_fstatfs.3
-MAN3+= explain_fstatfs_or_die.3
-MAN3+= explain_fstatvfs.3
-MAN3+= explain_fstatvfs_or_die.3
-MAN3+= explain_fsync.3
-MAN3+= explain_fsync_or_die.3
-MAN3+= explain_ftell.3
-MAN3+= explain_ftell_or_die.3
-MAN3+= explain_ftime.3
-MAN3+= explain_ftime_or_die.3
-MAN3+= explain_ftruncate.3
-MAN3+= explain_ftruncate_or_die.3
-MAN3+= explain_futimes.3
-MAN3+= explain_futimes_or_die.3
-MAN3+= explain_fwrite.3
-MAN3+= explain_fwrite_or_die.3
-MAN3+= explain_getaddrinfo.3
-MAN3+= explain_getaddrinfo_or_die.3
-MAN3+= explain_getc.3
-MAN3+= explain_getc_or_die.3
-MAN3+= explain_getchar.3
-MAN3+= explain_getchar_or_die.3
-MAN3+= explain_getcwd.3
-MAN3+= explain_getcwd_or_die.3
-MAN3+= explain_getdomainname.3
-MAN3+= explain_getdomainname_or_die.3
-MAN3+= explain_getgroups.3
-MAN3+= explain_getgroups_or_die.3
-MAN3+= explain_gethostname.3
-MAN3+= explain_gethostname_or_die.3
-MAN3+= explain_getpeername.3
-MAN3+= explain_getpeername_or_die.3
-MAN3+= explain_getpgid.3
-MAN3+= explain_getpgid_or_die.3
-MAN3+= explain_getpgrp.3
-MAN3+= explain_getpgrp_or_die.3
-MAN3+= explain_getrlimit.3
-MAN3+= explain_getrlimit_or_die.3
-MAN3+= explain_getsockname.3
-MAN3+= explain_getsockname_or_die.3
-MAN3+= explain_getsockopt.3
-MAN3+= explain_getsockopt_or_die.3
-MAN3+= explain_gettimeofday.3
-MAN3+= explain_gettimeofday_or_die.3
-MAN3+= explain_getw.3
-MAN3+= explain_getw_or_die.3
-MAN3+= explain_ioctl.3
-MAN3+= explain_ioctl_or_die.3
-MAN3+= explain_kill.3
-MAN3+= explain_kill_or_die.3
-MAN3+= explain_lchown.3
-MAN3+= explain_lchown_or_die.3
-MAN3+= explain_license.3
-MAN3+= explain_link.3
-MAN3+= explain_link_or_die.3
-MAN3+= explain_listen.3
-MAN3+= explain_listen_or_die.3
-MAN3+= explain_lseek.3
-MAN3+= explain_lseek_or_die.3
-MAN3+= explain_lstat.3
-MAN3+= explain_lstat_or_die.3
-MAN3+= explain_malloc.3
-MAN3+= explain_malloc_or_die.3
-MAN3+= explain_mkdir.3
-MAN3+= explain_mkdir_or_die.3
-MAN3+= explain_mkdtemp.3
-MAN3+= explain_mkdtemp_or_die.3
-MAN3+= explain_mknod.3
-MAN3+= explain_mknod_or_die.3
-MAN3+= explain_mkostemp.3
-MAN3+= explain_mkostemp_or_die.3
-MAN3+= explain_mkstemp.3
-MAN3+= explain_mkstemp_or_die.3
-MAN3+= explain_mktemp.3
-MAN3+= explain_mktemp_or_die.3
-MAN3+= explain_mmap.3
-MAN3+= explain_mmap_or_die.3
-MAN3+= explain_munmap.3
-MAN3+= explain_munmap_or_die.3
-MAN3+= explain_nice.3
-MAN3+= explain_nice_or_die.3
-MAN3+= explain_open.3
-MAN3+= explain_open_or_die.3
-MAN3+= explain_opendir.3
-MAN3+= explain_opendir_or_die.3
-MAN3+= explain_output.3
-MAN3+= explain_pathconf.3
-MAN3+= explain_pathconf_or_die.3
-MAN3+= explain_pclose.3
-MAN3+= explain_pclose_or_die.3
-MAN3+= explain_pipe.3
-MAN3+= explain_pipe_or_die.3
-MAN3+= explain_poll.3
-MAN3+= explain_poll_or_die.3
-MAN3+= explain_popen.3
-MAN3+= explain_popen_or_die.3
-MAN3+= explain_pread.3
-MAN3+= explain_pread_or_die.3
-MAN3+= explain_printf.3
-MAN3+= explain_printf_or_die.3
-MAN3+= explain_program_name.3
-MAN3+= explain_ptrace.3
-MAN3+= explain_ptrace_or_die.3
-MAN3+= explain_putc.3
-MAN3+= explain_putc_or_die.3
-MAN3+= explain_putchar.3
-MAN3+= explain_putchar_or_die.3
-MAN3+= explain_putenv.3
-MAN3+= explain_putenv_or_die.3
-MAN3+= explain_puts.3
-MAN3+= explain_puts_or_die.3
-MAN3+= explain_putw.3
-MAN3+= explain_putw_or_die.3
-MAN3+= explain_pwrite.3
-MAN3+= explain_pwrite_or_die.3
-MAN3+= explain_raise.3
-MAN3+= explain_raise_or_die.3
-MAN3+= explain_read.3
-MAN3+= explain_read_or_die.3
-MAN3+= explain_readdir.3
-MAN3+= explain_readdir_or_die.3
-MAN3+= explain_readlink.3
-MAN3+= explain_readlink_or_die.3
-MAN3+= explain_readv.3
-MAN3+= explain_readv_or_die.3
-MAN3+= explain_realloc.3
-MAN3+= explain_realloc_or_die.3
-MAN3+= explain_remove.3
-MAN3+= explain_remove_or_die.3
-MAN3+= explain_rename.3
-MAN3+= explain_rename_or_die.3
-MAN3+= explain_rmdir.3
-MAN3+= explain_rmdir_or_die.3
-MAN3+= explain_select.3
-MAN3+= explain_select_or_die.3
-MAN3+= explain_setbuf.3
-MAN3+= explain_setbuf_or_die.3
-MAN3+= explain_setbuffer.3
-MAN3+= explain_setbuffer_or_die.3
-MAN3+= explain_setdomainname.3
-MAN3+= explain_setdomainname_or_die.3
-MAN3+= explain_setenv.3
-MAN3+= explain_setenv_or_die.3
-MAN3+= explain_setgroups.3
-MAN3+= explain_setgroups_or_die.3
-MAN3+= explain_sethostname.3
-MAN3+= explain_sethostname_or_die.3
-MAN3+= explain_setlinebuf.3
-MAN3+= explain_setlinebuf_or_die.3
-MAN3+= explain_setpgid.3
-MAN3+= explain_setpgid_or_die.3
-MAN3+= explain_setpgrp.3
-MAN3+= explain_setpgrp_or_die.3
-MAN3+= explain_setsockopt.3
-MAN3+= explain_setsockopt_or_die.3
-MAN3+= explain_setvbuf.3
-MAN3+= explain_setvbuf_or_die.3
-MAN3+= explain_signalfd.3
-MAN3+= explain_signalfd_or_die.3
-MAN3+= explain_snprintf.3
-MAN3+= explain_snprintf_or_die.3
-MAN3+= explain_socket.3
-MAN3+= explain_socket_or_die.3
-MAN3+= explain_socketpair.3
-MAN3+= explain_socketpair_or_die.3
-MAN3+= explain_sprintf.3
-MAN3+= explain_sprintf_or_die.3
-MAN3+= explain_stat.3
-MAN3+= explain_stat_or_die.3
-MAN3+= explain_statfs.3
-MAN3+= explain_statfs_or_die.3
-MAN3+= explain_statvfs.3
-MAN3+= explain_statvfs_or_die.3
-MAN3+= explain_stime.3
-MAN3+= explain_stime_or_die.3
-MAN3+= explain_strdup.3
-MAN3+= explain_strdup_or_die.3
-MAN3+= explain_strndup.3
-MAN3+= explain_strndup_or_die.3
-MAN3+= explain_strtod.3
-MAN3+= explain_strtod_or_die.3
-MAN3+= explain_strtof.3
-MAN3+= explain_strtof_or_die.3
-MAN3+= explain_strtol.3
-MAN3+= explain_strtol_or_die.3
-MAN3+= explain_strtold.3
-MAN3+= explain_strtold_or_die.3
-MAN3+= explain_strtoll.3
-MAN3+= explain_strtoll_or_die.3
-MAN3+= explain_strtoul.3
-MAN3+= explain_strtoul_or_die.3
-MAN3+= explain_strtoull.3
-MAN3+= explain_strtoull_or_die.3
-MAN3+= explain_symlink.3
-MAN3+= explain_symlink_or_die.3
-MAN3+= explain_system.3
-MAN3+= explain_system_or_die.3
-MAN3+= explain_tcdrain.3
-MAN3+= explain_tcdrain_or_die.3
-MAN3+= explain_tcflow.3
-MAN3+= explain_tcflow_or_die.3
-MAN3+= explain_tcflush.3
-MAN3+= explain_tcflush_or_die.3
-MAN3+= explain_tcgetattr.3
-MAN3+= explain_tcgetattr_or_die.3
-MAN3+= explain_tcsendbreak.3
-MAN3+= explain_tcsendbreak_or_die.3
-MAN3+= explain_tcsetattr.3
-MAN3+= explain_tcsetattr_or_die.3
-MAN3+= explain_telldir.3
-MAN3+= explain_telldir_or_die.3
-MAN3+= explain_tempnam.3
-MAN3+= explain_tempnam_or_die.3
-MAN3+= explain_time.3
-MAN3+= explain_time_or_die.3
-MAN3+= explain_timerfd_create.3
-MAN3+= explain_timerfd_create_or_die.3
-MAN3+= explain_tmpfile.3
-MAN3+= explain_tmpfile_or_die.3
-MAN3+= explain_tmpnam.3
-MAN3+= explain_tmpnam_or_die.3
-MAN3+= explain_truncate.3
-MAN3+= explain_truncate_or_die.3
-MAN3+= explain_ungetc.3
-MAN3+= explain_ungetc_or_die.3
-MAN3+= explain_unlink.3
-MAN3+= explain_unlink_or_die.3
-MAN3+= explain_unsetenv.3
-MAN3+= explain_unsetenv_or_die.3
-MAN3+= explain_ustat.3
-MAN3+= explain_ustat_or_die.3
-MAN3+= explain_utime.3
-MAN3+= explain_utime_or_die.3
-MAN3+= explain_utimes.3
-MAN3+= explain_utimes_or_die.3
-MAN3+= explain_vfork.3
-MAN3+= explain_vfork_or_die.3
-MAN3+= explain_vfprintf.3
-MAN3+= explain_vfprintf_or_die.3
-MAN3+= explain_vprintf.3
-MAN3+= explain_vprintf_or_die.3
-MAN3+= explain_vsnprintf.3
-MAN3+= explain_vsnprintf_or_die.3
-MAN3+= explain_vsprintf.3
-MAN3+= explain_vsprintf_or_die.3
-MAN3+= explain_wait.3
-MAN3+= explain_wait3.3
-MAN3+= explain_wait3_or_die.3
-MAN3+= explain_wait4.3
-MAN3+= explain_wait4_or_die.3
-MAN3+= explain_wait_or_die.3
-MAN3+= explain_waitpid.3
-MAN3+= explain_waitpid_or_die.3
-MAN3+= explain_write.3
-MAN3+= explain_write_or_die.3
-MAN3+= explain_writev.3
-MAN3+= explain_writev_or_die.3
-MAN3+= explain_execv.3
-MAN3+= explain_execv_or_die.3
-MAN3+= explain_filename.3
-MAN3+= explain_getresgid.3
-MAN3+= explain_getresgid_or_die.3
-MAN3+= explain_getresuid.3
-MAN3+= explain_getresuid_or_die.3
-MAN3+= explain_lchmod.3
-MAN3+= explain_lchmod_or_die.3
-MAN3+= explain_realpath.3
-MAN3+= explain_realpath_or_die.3
-MAN3+= explain_setgid.3
-MAN3+= explain_setgid_or_die.3
-MAN3+= explain_setregid.3
-MAN3+= explain_setregid_or_die.3
-MAN3+= explain_setresgid.3
-MAN3+= explain_setresgid_or_die.3
-MAN3+= explain_setresuid.3
-MAN3+= explain_setresuid_or_die.3
-MAN3+= explain_setreuid.3
-MAN3+= explain_setreuid_or_die.3
-MAN3+= explain_setsid.3
-MAN3+= explain_setsid_or_die.3
-MAN3+= explain_setuid.3
-MAN3+= explain_setuid_or_die.3
-MAN3+= explain_shmat.3
-MAN3+= explain_shmat_or_die.3
-MAN3+= explain_shmctl.3
-MAN3+= explain_shmctl_or_die.3
-MAN3+= explain_utimens.3
-MAN3+= explain_utimens_or_die.3
-MAN3+= explain_utimensat.3
-MAN3+= explain_utimensat_or_die.3
+MAN1 += explain.1
+MAN1 += explain_lca2010.1
+MAN1 += explain_license.1
+MAN3 += explain.3
+MAN3 += explain_accept.3
+MAN3 += explain_accept4.3
+MAN3 += explain_accept4_or_die.3
+MAN3 += explain_accept_or_die.3
+MAN3 += explain_access.3
+MAN3 += explain_access_or_die.3
+MAN3 += explain_acct.3
+MAN3 += explain_acct_or_die.3
+MAN3 += explain_adjtime.3
+MAN3 += explain_adjtime_or_die.3
+MAN3 += explain_adjtimex.3
+MAN3 += explain_adjtimex_or_die.3
+MAN3 += explain_bind.3
+MAN3 += explain_bind_or_die.3
+MAN3 += explain_calloc.3
+MAN3 += explain_calloc_or_die.3
+MAN3 += explain_chdir.3
+MAN3 += explain_chdir_or_die.3
+MAN3 += explain_chmod.3
+MAN3 += explain_chmod_or_die.3
+MAN3 += explain_chown.3
+MAN3 += explain_chown_or_die.3
+MAN3 += explain_chroot.3
+MAN3 += explain_chroot_or_die.3
+MAN3 += explain_close.3
+MAN3 += explain_close_or_die.3
+MAN3 += explain_closedir.3
+MAN3 += explain_closedir_or_die.3
+MAN3 += explain_connect.3
+MAN3 += explain_connect_or_die.3
+MAN3 += explain_creat.3
+MAN3 += explain_creat_or_die.3
+MAN3 += explain_dirfd.3
+MAN3 += explain_dirfd_or_die.3
+MAN3 += explain_dup.3
+MAN3 += explain_dup2.3
+MAN3 += explain_dup2_or_die.3
+MAN3 += explain_dup_or_die.3
+MAN3 += explain_eventfd.3
+MAN3 += explain_eventfd_or_die.3
+MAN3 += explain_execlp.3
+MAN3 += explain_execlp_or_die.3
+MAN3 += explain_execv.3
+MAN3 += explain_execv_or_die.3
+MAN3 += explain_execve.3
+MAN3 += explain_execve_or_die.3
+MAN3 += explain_execvp.3
+MAN3 += explain_execvp_or_die.3
+MAN3 += explain_exit.3
+MAN3 += explain_fchdir.3
+MAN3 += explain_fchdir_or_die.3
+MAN3 += explain_fchmod.3
+MAN3 += explain_fchmod_or_die.3
+MAN3 += explain_fchown.3
+MAN3 += explain_fchown_or_die.3
+MAN3 += explain_fclose.3
+MAN3 += explain_fclose_or_die.3
+MAN3 += explain_fcntl.3
+MAN3 += explain_fcntl_or_die.3
+MAN3 += explain_fdopen.3
+MAN3 += explain_fdopen_or_die.3
+MAN3 += explain_fdopendir.3
+MAN3 += explain_fdopendir_or_die.3
+MAN3 += explain_feof.3
+MAN3 += explain_feof_or_die.3
+MAN3 += explain_ferror.3
+MAN3 += explain_ferror_or_die.3
+MAN3 += explain_fflush.3
+MAN3 += explain_fflush_or_die.3
+MAN3 += explain_fgetc.3
+MAN3 += explain_fgetc_or_die.3
+MAN3 += explain_fgetpos.3
+MAN3 += explain_fgetpos_or_die.3
+MAN3 += explain_fgets.3
+MAN3 += explain_fgets_or_die.3
+MAN3 += explain_filename.3
+MAN3 += explain_fileno.3
+MAN3 += explain_fileno_or_die.3
+MAN3 += explain_flock.3
+MAN3 += explain_flock_or_die.3
+MAN3 += explain_fopen.3
+MAN3 += explain_fopen_or_die.3
+MAN3 += explain_fork.3
+MAN3 += explain_fork_or_die.3
+MAN3 += explain_fpathconf.3
+MAN3 += explain_fpathconf_or_die.3
+MAN3 += explain_fprintf.3
+MAN3 += explain_fprintf_or_die.3
+MAN3 += explain_fpurge.3
+MAN3 += explain_fpurge_or_die.3
+MAN3 += explain_fputc.3
+MAN3 += explain_fputc_or_die.3
+MAN3 += explain_fputs.3
+MAN3 += explain_fputs_or_die.3
+MAN3 += explain_fread.3
+MAN3 += explain_fread_or_die.3
+MAN3 += explain_freopen.3
+MAN3 += explain_freopen_or_die.3
+MAN3 += explain_fseek.3
+MAN3 += explain_fseek_or_die.3
+MAN3 += explain_fsetpos.3
+MAN3 += explain_fsetpos_or_die.3
+MAN3 += explain_fstat.3
+MAN3 += explain_fstat_or_die.3
+MAN3 += explain_fstatfs.3
+MAN3 += explain_fstatfs_or_die.3
+MAN3 += explain_fstatvfs.3
+MAN3 += explain_fstatvfs_or_die.3
+MAN3 += explain_fsync.3
+MAN3 += explain_fsync_or_die.3
+MAN3 += explain_ftell.3
+MAN3 += explain_ftell_or_die.3
+MAN3 += explain_ftime.3
+MAN3 += explain_ftime_or_die.3
+MAN3 += explain_ftruncate.3
+MAN3 += explain_ftruncate_or_die.3
+MAN3 += explain_futimes.3
+MAN3 += explain_futimes_or_die.3
+MAN3 += explain_fwrite.3
+MAN3 += explain_fwrite_or_die.3
+MAN3 += explain_getaddrinfo.3
+MAN3 += explain_getaddrinfo_or_die.3
+MAN3 += explain_getc.3
+MAN3 += explain_getc_or_die.3
+MAN3 += explain_getchar.3
+MAN3 += explain_getchar_or_die.3
+MAN3 += explain_getcwd.3
+MAN3 += explain_getcwd_or_die.3
+MAN3 += explain_getdomainname.3
+MAN3 += explain_getdomainname_or_die.3
+MAN3 += explain_getgroups.3
+MAN3 += explain_getgroups_or_die.3
+MAN3 += explain_gethostbyname.3
+MAN3 += explain_gethostbyname_or_die.3
+MAN3 += explain_gethostname.3
+MAN3 += explain_gethostname_or_die.3
+MAN3 += explain_getpeername.3
+MAN3 += explain_getpeername_or_die.3
+MAN3 += explain_getpgid.3
+MAN3 += explain_getpgid_or_die.3
+MAN3 += explain_getpgrp.3
+MAN3 += explain_getpgrp_or_die.3
+MAN3 += explain_getresgid.3
+MAN3 += explain_getresgid_or_die.3
+MAN3 += explain_getresuid.3
+MAN3 += explain_getresuid_or_die.3
+MAN3 += explain_getrlimit.3
+MAN3 += explain_getrlimit_or_die.3
+MAN3 += explain_getrusage.3
+MAN3 += explain_getrusage_or_die.3
+MAN3 += explain_getsockname.3
+MAN3 += explain_getsockname_or_die.3
+MAN3 += explain_getsockopt.3
+MAN3 += explain_getsockopt_or_die.3
+MAN3 += explain_gettimeofday.3
+MAN3 += explain_gettimeofday_or_die.3
+MAN3 += explain_getw.3
+MAN3 += explain_getw_or_die.3
+MAN3 += explain_ioctl.3
+MAN3 += explain_ioctl_or_die.3
+MAN3 += explain_kill.3
+MAN3 += explain_kill_or_die.3
+MAN3 += explain_lchmod.3
+MAN3 += explain_lchmod_or_die.3
+MAN3 += explain_lchown.3
+MAN3 += explain_lchown_or_die.3
+MAN3 += explain_license.3
+MAN3 += explain_link.3
+MAN3 += explain_link_or_die.3
+MAN3 += explain_listen.3
+MAN3 += explain_listen_or_die.3
+MAN3 += explain_lseek.3
+MAN3 += explain_lseek_or_die.3
+MAN3 += explain_lstat.3
+MAN3 += explain_lstat_or_die.3
+MAN3 += explain_malloc.3
+MAN3 += explain_malloc_or_die.3
+MAN3 += explain_mkdir.3
+MAN3 += explain_mkdir_or_die.3
+MAN3 += explain_mkdtemp.3
+MAN3 += explain_mkdtemp_or_die.3
+MAN3 += explain_mknod.3
+MAN3 += explain_mknod_or_die.3
+MAN3 += explain_mkostemp.3
+MAN3 += explain_mkostemp_or_die.3
+MAN3 += explain_mkstemp.3
+MAN3 += explain_mkstemp_or_die.3
+MAN3 += explain_mktemp.3
+MAN3 += explain_mktemp_or_die.3
+MAN3 += explain_mmap.3
+MAN3 += explain_mmap_or_die.3
+MAN3 += explain_munmap.3
+MAN3 += explain_munmap_or_die.3
+MAN3 += explain_nice.3
+MAN3 += explain_nice_or_die.3
+MAN3 += explain_open.3
+MAN3 += explain_open_or_die.3
+MAN3 += explain_opendir.3
+MAN3 += explain_opendir_or_die.3
+MAN3 += explain_output.3
+MAN3 += explain_pathconf.3
+MAN3 += explain_pathconf_or_die.3
+MAN3 += explain_pclose.3
+MAN3 += explain_pclose_or_die.3
+MAN3 += explain_pipe.3
+MAN3 += explain_pipe_or_die.3
+MAN3 += explain_poll.3
+MAN3 += explain_poll_or_die.3
+MAN3 += explain_popen.3
+MAN3 += explain_popen_or_die.3
+MAN3 += explain_pread.3
+MAN3 += explain_pread_or_die.3
+MAN3 += explain_printf.3
+MAN3 += explain_printf_or_die.3
+MAN3 += explain_program_name.3
+MAN3 += explain_ptrace.3
+MAN3 += explain_ptrace_or_die.3
+MAN3 += explain_putc.3
+MAN3 += explain_putc_or_die.3
+MAN3 += explain_putchar.3
+MAN3 += explain_putchar_or_die.3
+MAN3 += explain_putenv.3
+MAN3 += explain_putenv_or_die.3
+MAN3 += explain_puts.3
+MAN3 += explain_puts_or_die.3
+MAN3 += explain_putw.3
+MAN3 += explain_putw_or_die.3
+MAN3 += explain_pwrite.3
+MAN3 += explain_pwrite_or_die.3
+MAN3 += explain_raise.3
+MAN3 += explain_raise_or_die.3
+MAN3 += explain_read.3
+MAN3 += explain_read_or_die.3
+MAN3 += explain_readdir.3
+MAN3 += explain_readdir_or_die.3
+MAN3 += explain_readlink.3
+MAN3 += explain_readlink_or_die.3
+MAN3 += explain_readv.3
+MAN3 += explain_readv_or_die.3
+MAN3 += explain_realloc.3
+MAN3 += explain_realloc_or_die.3
+MAN3 += explain_realpath.3
+MAN3 += explain_realpath_or_die.3
+MAN3 += explain_remove.3
+MAN3 += explain_remove_or_die.3
+MAN3 += explain_rename.3
+MAN3 += explain_rename_or_die.3
+MAN3 += explain_rmdir.3
+MAN3 += explain_rmdir_or_die.3
+MAN3 += explain_select.3
+MAN3 += explain_select_or_die.3
+MAN3 += explain_setbuf.3
+MAN3 += explain_setbuf_or_die.3
+MAN3 += explain_setbuffer.3
+MAN3 += explain_setbuffer_or_die.3
+MAN3 += explain_setdomainname.3
+MAN3 += explain_setdomainname_or_die.3
+MAN3 += explain_setenv.3
+MAN3 += explain_setenv_or_die.3
+MAN3 += explain_setgid.3
+MAN3 += explain_setgid_or_die.3
+MAN3 += explain_setgroups.3
+MAN3 += explain_setgroups_or_die.3
+MAN3 += explain_sethostname.3
+MAN3 += explain_sethostname_or_die.3
+MAN3 += explain_setlinebuf.3
+MAN3 += explain_setlinebuf_or_die.3
+MAN3 += explain_setpgid.3
+MAN3 += explain_setpgid_or_die.3
+MAN3 += explain_setpgrp.3
+MAN3 += explain_setpgrp_or_die.3
+MAN3 += explain_setregid.3
+MAN3 += explain_setregid_or_die.3
+MAN3 += explain_setresgid.3
+MAN3 += explain_setresgid_or_die.3
+MAN3 += explain_setresuid.3
+MAN3 += explain_setresuid_or_die.3
+MAN3 += explain_setreuid.3
+MAN3 += explain_setreuid_or_die.3
+MAN3 += explain_setsid.3
+MAN3 += explain_setsid_or_die.3
+MAN3 += explain_setsockopt.3
+MAN3 += explain_setsockopt_or_die.3
+MAN3 += explain_setuid.3
+MAN3 += explain_setuid_or_die.3
+MAN3 += explain_setvbuf.3
+MAN3 += explain_setvbuf_or_die.3
+MAN3 += explain_shmat.3
+MAN3 += explain_shmat_or_die.3
+MAN3 += explain_shmctl.3
+MAN3 += explain_shmctl_or_die.3
+MAN3 += explain_signalfd.3
+MAN3 += explain_signalfd_or_die.3
+MAN3 += explain_snprintf.3
+MAN3 += explain_snprintf_or_die.3
+MAN3 += explain_socket.3
+MAN3 += explain_socket_or_die.3
+MAN3 += explain_socketpair.3
+MAN3 += explain_socketpair_or_die.3
+MAN3 += explain_sprintf.3
+MAN3 += explain_sprintf_or_die.3
+MAN3 += explain_stat.3
+MAN3 += explain_stat_or_die.3
+MAN3 += explain_statfs.3
+MAN3 += explain_statfs_or_die.3
+MAN3 += explain_statvfs.3
+MAN3 += explain_statvfs_or_die.3
+MAN3 += explain_stime.3
+MAN3 += explain_stime_or_die.3
+MAN3 += explain_strdup.3
+MAN3 += explain_strdup_or_die.3
+MAN3 += explain_strndup.3
+MAN3 += explain_strndup_or_die.3
+MAN3 += explain_strtod.3
+MAN3 += explain_strtod_or_die.3
+MAN3 += explain_strtof.3
+MAN3 += explain_strtof_or_die.3
+MAN3 += explain_strtol.3
+MAN3 += explain_strtol_or_die.3
+MAN3 += explain_strtold.3
+MAN3 += explain_strtold_or_die.3
+MAN3 += explain_strtoll.3
+MAN3 += explain_strtoll_or_die.3
+MAN3 += explain_strtoul.3
+MAN3 += explain_strtoul_or_die.3
+MAN3 += explain_strtoull.3
+MAN3 += explain_strtoull_or_die.3
+MAN3 += explain_symlink.3
+MAN3 += explain_symlink_or_die.3
+MAN3 += explain_system.3
+MAN3 += explain_system_or_die.3
+MAN3 += explain_tcdrain.3
+MAN3 += explain_tcdrain_or_die.3
+MAN3 += explain_tcflow.3
+MAN3 += explain_tcflow_or_die.3
+MAN3 += explain_tcflush.3
+MAN3 += explain_tcflush_or_die.3
+MAN3 += explain_tcgetattr.3
+MAN3 += explain_tcgetattr_or_die.3
+MAN3 += explain_tcsendbreak.3
+MAN3 += explain_tcsendbreak_or_die.3
+MAN3 += explain_tcsetattr.3
+MAN3 += explain_tcsetattr_or_die.3
+MAN3 += explain_telldir.3
+MAN3 += explain_telldir_or_die.3
+MAN3 += explain_tempnam.3
+MAN3 += explain_tempnam_or_die.3
+MAN3 += explain_time.3
+MAN3 += explain_time_or_die.3
+MAN3 += explain_timerfd_create.3
+MAN3 += explain_timerfd_create_or_die.3
+MAN3 += explain_tmpfile.3
+MAN3 += explain_tmpfile_or_die.3
+MAN3 += explain_tmpnam.3
+MAN3 += explain_tmpnam_or_die.3
+MAN3 += explain_truncate.3
+MAN3 += explain_truncate_or_die.3
+MAN3 += explain_ungetc.3
+MAN3 += explain_ungetc_or_die.3
+MAN3 += explain_unlink.3
+MAN3 += explain_unlink_or_die.3
+MAN3 += explain_unsetenv.3
+MAN3 += explain_unsetenv_or_die.3
+MAN3 += explain_ustat.3
+MAN3 += explain_ustat_or_die.3
+MAN3 += explain_utime.3
+MAN3 += explain_utime_or_die.3
+MAN3 += explain_utimens.3
+MAN3 += explain_utimens_or_die.3
+MAN3 += explain_utimensat.3
+MAN3 += explain_utimensat_or_die.3
+MAN3 += explain_utimes.3
+MAN3 += explain_utimes_or_die.3
+MAN3 += explain_vfork.3
+MAN3 += explain_vfork_or_die.3
+MAN3 += explain_vfprintf.3
+MAN3 += explain_vfprintf_or_die.3
+MAN3 += explain_vprintf.3
+MAN3 += explain_vprintf_or_die.3
+MAN3 += explain_vsnprintf.3
+MAN3 += explain_vsnprintf_or_die.3
+MAN3 += explain_vsprintf.3
+MAN3 += explain_vsprintf_or_die.3
+MAN3 += explain_wait.3
+MAN3 += explain_wait3.3
+MAN3 += explain_wait3_or_die.3
+MAN3 += explain_wait4.3
+MAN3 += explain_wait4_or_die.3
+MAN3 += explain_wait_or_die.3
+MAN3 += explain_waitpid.3
+MAN3 += explain_waitpid_or_die.3
+MAN3 += explain_write.3
+MAN3 += explain_write_or_die.3
+MAN3 += explain_writev.3
+MAN3 += explain_writev_or_die.3
diff --git a/devel/libexplain/distinfo b/devel/libexplain/distinfo
index 275a71f40830..b4f46c7ee243 100644
--- a/devel/libexplain/distinfo
+++ b/devel/libexplain/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libexplain-1.1.D001.tar.gz) = a0bbbfe67d0a66e0025a1875597e7f8d139f1b1b479f245ff467956fd34963cc
-SIZE (libexplain-1.1.D001.tar.gz) = 4557845
+SHA256 (libexplain-1.2.tar.gz) = a8e0d3f05fcb5870251a97dd507c6b89a73b3511f2241080088352efa37fa503
+SIZE (libexplain-1.2.tar.gz) = 4589565
diff --git a/devel/libexplain/files/patch-Makefile.in b/devel/libexplain/files/patch-Makefile.in
deleted file mode 100644
index 69d9b6ac77b1..000000000000
--- a/devel/libexplain/files/patch-Makefile.in
+++ /dev/null
@@ -1,21 +0,0 @@
---- ./Makefile.in.orig 2012-11-20 16:54:45.000000000 +0100
-+++ ./Makefile.in 2012-11-20 16:55:58.000000000 +0100
-@@ -3182,7 +3182,7 @@
-
- $(libdir)/pkgconfig/libexplain.pc: .mkdir.__libdir__pkgconfig \
- libdir/pkgconfig/libexplain.pc
-- $(INSTALL_DATA) libdir/pkgconfig/libexplain.pc $@
-+ @true
-
- libexplain/ac/mntent.$(OBJEXT) libexplain/ac/mntent.lo: libexplain/ac/ctype.h \
- libexplain/ac/mntent.c libexplain/ac/mntent.h \
-@@ -42187,8 +42187,7 @@
- @sleep 1
-
- .mkdir.__libdir__pkgconfig: .mkdir.__libdir_
-- -$(INSTALL_DIR) $(libdir)/pkgconfig
-- @-test -d $(libdir)/pkgconfig && touch $@
-+ @true
- @sleep 1
-
- .mkdir.__mandir_:
diff --git a/devel/libexplain/files/patch-codegen-gram.y b/devel/libexplain/files/patch-codegen-gram.y
deleted file mode 100644
index 3096d73ad850..000000000000
--- a/devel/libexplain/files/patch-codegen-gram.y
+++ /dev/null
@@ -1,10 +0,0 @@
---- codegen/gram.y.orig 2012-11-20 06:20:24.000000000 +0100
-+++ codegen/gram.y 2013-02-28 17:27:14.000000000 +0100
-@@ -258,7 +258,6 @@
- }
-
-
--static int yyparse(void);
- static node_t *result;
- #if YYDEBUG
- extern int yydebug;
diff --git a/devel/libexplain/files/patch-libexplain__buffer__hostent.c b/devel/libexplain/files/patch-libexplain__buffer__hostent.c
new file mode 100644
index 000000000000..03ba640f1334
--- /dev/null
+++ b/devel/libexplain/files/patch-libexplain__buffer__hostent.c
@@ -0,0 +1,13 @@
+--- ./libexplain/buffer/hostent.c.orig 2013-03-15 02:34:07.000000000 +0100
++++ ./libexplain/buffer/hostent.c 2013-05-31 10:52:55.842570569 +0200
+@@ -28,6 +28,10 @@
+ #include <libexplain/buffer/sockaddr.h>
+ #include <libexplain/is_efault.h>
+
++#ifdef __FreeBSD__
++#include <sys/socket.h>
++#endif
++
+
+ void
+ explain_buffer_hostent(explain_string_buffer_t *sb,
diff --git a/devel/libexplain/pkg-plist b/devel/libexplain/pkg-plist
index 3d78099797b5..93a276b980f4 100644
--- a/devel/libexplain/pkg-plist
+++ b/devel/libexplain/pkg-plist
@@ -67,6 +67,7 @@ include/libexplain/getchar.h
include/libexplain/getcwd.h
include/libexplain/getdomainname.h
include/libexplain/getgroups.h
+include/libexplain/gethostbyname.h
include/libexplain/gethostname.h
include/libexplain/getpeername.h
include/libexplain/getpgid.h
@@ -74,6 +75,7 @@ include/libexplain/getpgrp.h
include/libexplain/getresgid.h
include/libexplain/getresuid.h
include/libexplain/getrlimit.h
+include/libexplain/getrusage.h
include/libexplain/getsockname.h
include/libexplain/getsockopt.h
include/libexplain/gettimeofday.h
@@ -204,10 +206,12 @@ include/libexplain/writev.h
lib/libexplain.a
lib/libexplain.la
lib/libexplain.so
-lib/libexplain.so.53
+lib/libexplain.so.54
+lib/pkgconfig/libexplain.pc
share/doc/libexplain/building.pdf
share/doc/libexplain/new_system_call.pdf
share/doc/libexplain/readme.pdf
share/doc/libexplain/reference.pdf
@dirrm include/libexplain
@dirrm %%DOCSDIR%%
+@dirrmtry lib/pkgconfig