Restrict CPPFLAGS=-fPIC to clang only, as changed reason.

At least, It break build on NetBSD-i386 with buitin gcc, PR pkg/48538.
No build failure on NetBSD-amd64 with builtin gcc.
Enforce -D_POSIX_C_SOURCE=199506 so that strtok_r() is defined by
<string.h>, otherwise the compiler assumes it returns an int, and
it breaks on LP64 machines.
This Nagios plugin cheks that /var/run/*.pid belongs to alive processes
Add nagios-plugin-dotpid
Added net/nagios-plugin-dotpid version 0.1
require randrproto>=1.4 to build, and packags not using builtin libXrandr
also require the version.

fixes a part of PR pkg/48532.
require libXrandr>=1.4, as PR pkg/48532.
also require xproto>=7.0.17.
Update to 1.77
Add missing DEPENDS

Upstream changes:
revision 1.77  2014-01-17
----------------------------
    - Reintroduce { -not => undef } column operator (regression from 1.75)

revision 1.75  2013-12-27
----------------------------
    - *UPCOMING INCOMPATIBLE BUGFIX*: SQLA used to generate incorrect SQL
      on undef-containing lists fed to -in and -not_in. An exception will
      be raised for a while before properly fixing this, to avoid quiet
      but subtle changes to query results in production
    - Deprecate and warn when supplying an empty arrayref to like/not_like
      operators (likely to be removed before 2.0)

    - Warn when using an inequality operator with a multi-value array to
      arrive at what amounts to a 1=1 condition (no pre-2.0 plans to fix
      this behavior due to backwards comp concerns)
    - Fix false negative comparison of ORDER BY <function> ASC
    - More improvements of incorrect parsing (placeholder at end of list
      element)
    - Fix typos in POD and comments (RT#87776)
    - Augment -not_bool example with nesting (RT#89601)
Updated databases/p5-SQL-Abstract to 1.77
Remove obsolete patch
update to 0.1.5
changes:
-fix buffer overflow (CVE-2013-6393)
-more hardening and minor fixes

pkgsrc change: added "test" target
add "test" target
Update to 0.12

Upstream changes:
0.12 - Tue Dec 4, 2012
    - Bump Class::C3 dependency on 5.8 which in turn will automatically
      install Class::C3::XS if possible
    - Fix nonfunctional SYNOPSIS (RT#78325)
Updated devel/p5-MRO-Compat to 0.12
Update to 0.08270
Update DEPENDS

Upstream changes:
0.08270 2014-01-30 21:54 (PST)
    * Fixes
        - Fix 0.08260 regression in DBD::SQLite bound int handling. Inserted
          data was not affected, but any function <=> integer comparison would
          have failed (originally fixed way back in 0e773352)
        - Fix failure to load DateTime formatter when connecting to Firebird
          over ODBC

    * Misc
        - All drivers based on ::Storage::DBI::Firebird::Common now return the
          same sqlt_type value (affects ::DBI::Interbase, ::DBI::Firebird and
          ::DBI::ODBC::Firebird)

0.08260 2014-01-28 18:52 (UTC)
    * New Features
        - A new zero-to-DBIC style manual: DBIx::Class::Manual::QuickStart

    * Notable Changes and Deprecations
        - Explicitly deprecate combination of distinct and selecting a
          non-column via $rs->get_column()

    * Fixes
        - More robust handling of circular relationship declarations by loading
          foreign classes less frequently (should resolve issues like
          http://lists.scsys.co.uk/pipermail/dbix-class/2013-June/011374.html)
          Note that none of this is a manifestations of a DBIC bug, but rather
          unexpected (but correct) behavior of load-order-dependent (hence
          logically broken) Resultclass hierarchies. In order to deal with this
          DBIC is scaling back a large number of sanity checks, which are to be
          reintroduce pending a better framework for source registration
        - Fix multiple edge cases of complex prefetch combining incorrectly
          with correlated subquery selections
        - Fix multiple edge cases stemming from interaction of a non-selecting
          order_by specification and distinct and/or complex prefetch
        - Fix unbound growth of a resultset during repeated execute/exhaust
          cycles (GH#29)
        - Work around (and be very vocal about the fact) when DBIC encounters
          an exception object with broken string overloading
        - Clarify ambiguous behavior of distinct when used with ResultSetColumn
          i.e. $rs->search({}, { distinct => 1 })->get_column (...)
        - Setting quote_names propagates to SQL::Translator when producing
          SQLite DDL (it is one of the few producers *NOT* quoting by default)
        - Fix incorrect binding of large integers on old versions of
          DBD::SQLite (now DBIC simply always binds SQLite ints as BIGINT)
        - Silence (harmless) warnings on recent DBD::SQLite versions, when
          inserting/updating large integers on 32bit ivsize systems (RT#76395)
        - Back out self-cleaning from DBIx::Class::Carp for the time being
          (as a side effect fixes RT#86267)
        - Fix incorrect internal use of implicit list context in copy()
        - Fix 0.08250 regression in driver determination when DBI_DSN is used
        - Tests no longer fail if $ENV{DBI_DSN} is set
        - Throw clearer exception on ->new_related() with a non-existent
          relationship
        - Fix incorrect parethesis unroll with multicolumn in, (never noticed
          before fixing false positive in SQLA::Test 1.77)
        - Fix t/storage/replicated.t class loading problem
        - Stop using the deprecated Class::MOP::load_class()
        - Fix warning in t/54taint.t with explicitly unset PERL5LIB (RT#91972)
        - Fix t/54taint.t failing under a local::lib with installed earlier
          DBIC version (RT#92486)

    * Misc
        - Massive incompatible change of ::BlockRunner internals (was never
          documented as usable externally, this last set of changes settles
          the design for proper documentation and opening up)
        - Adjust exceptions in tests to accommodate changes in the upcoming
          DBD::SQLite based on libsqlite 3.8.2
        - More robust lock file naming scheme - allow tests to work on exotic
          MSWin32 filesystems (habitual offender being http://is.gd/iy5XVP)
        - Better diagnostics when File::Spec->tmpdir gives us crap in testing
        - Replace $row with $result in all docs to be consistent and to
          clarify various return values
Updated databases/p5-DBIx-Class to 0.08270
Update to 0.7.0:
searching in the vcard chooser when merging addresses (press '/')
nice speedup in pc_query, thanks to Leandro Lucarella
better support for broken vcards
auto creating missing db directories
more bugfixes
Updated misc/py-carddav to 0.7.0
Add missing PKGCONFIG_OVERRIDE for new tcl.pc.

Bump PKGREVISION.
Updated lang/tcl to 8.6.1nb2