Closes: https://bugs.gentoo.org/638050
Package-Manager: Portage-2.3.14, Repoman-2.3.6
DESCRIPTION="Perl interface to the VXI-11 Test&Measurement backend"
SLOT="0"
+IUSE="+libtirpc"
-RDEPEND=""
+RDEPEND="
+ !libtirpc? ( sys-libs/glibc[rpc(-)] )
+ libtirpc? ( net-libs/libtirpc )
+"
DEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
+
+src_configure() {
+ if use libtirpc ; then
+ myconf=(
+ OPTIMIZE="${CFLAGS} -I/usr/include/tirpc"
+ LIBS="-ltirpc"
+ )
+ fi
+ perl-module_src_configure
+}
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <use>
+ <flag name="libtirpc">
+ Build against <pkg>net-libs/libtirpc</pkg> for RPC support
+ </flag>
+ </use>
</pkgmetadata>