During the build of x11-toolkits/pango, glib-mkenums from the devel/glib20 port
is executed.  However, glib-mkenums is a perl script, so we
need to specify "perl5" in USES.  This allows us to use perl to build this port,
without creating a runtime dependency on perl.

See:
http://lists.freebsd.org/pipermail/freebsd-ports/2006-December/037249.html

Specify:
USES = perl5
USE_PERL5 = build

to add perl5 to BUILD_DEPENDS and not RUN_DEPENDS for this port.
Fix plist.  Found during poudriere run configured with pkgng support.
Support staging
Respect ${CC}

Approved by:	portmgr@ (blanket)

(cherry picked from commit 45ca6f66f2d8af577dbb7443439ed8e8db6f2bb1)
Add istgt_args to istgt rc script

Ticket:	#4935
Squashed commit of the following:

commit f7d6b56571f99f6e9082f5d756b70ca4b7250098
Author: Sean Fagen <sef@ixsystems.com>
Date:   Tue May 6 16:02:17 2014 -0700

    Until the source fixes it, a patch to allow querying the size of an EA
    (with O_NOFOLLOW set).  Without it, it errors out.
Lock order fixes cherry picked from master

- bed323cebcfcf3298002ea8bc2eb6787419043b6
- 580eb9424c5a9645c44b933e2ef144301af035cb
- e6e40842d15850de35d00d5138fcaac858e37adc
- ffaa2849e5afc573c4b0d82086b233f4675bed85
Merge remote-tracking branch 'origin/freenas/9-stable' into 9.2.1-BRANCH