From: Andreas K. Hüttel Date: Sat, 18 Nov 2017 21:06:53 +0000 (+0100) Subject: dev-perl/Lab-VXI11: Support glibc-2.26 / libtirpc X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9d0bb963bb94305320ae676636c206cb4625c8cb;p=gentoo.git dev-perl/Lab-VXI11: Support glibc-2.26 / libtirpc Closes: https://bugs.gentoo.org/638050 Package-Manager: Portage-2.3.14, Repoman-2.3.6 --- diff --git a/dev-perl/Lab-VXI11/Lab-VXI11-0.20.0.ebuild b/dev-perl/Lab-VXI11/Lab-VXI11-0.20.0.ebuild index 6eca7c194229..9d18e77101a3 100644 --- a/dev-perl/Lab-VXI11/Lab-VXI11-0.20.0.ebuild +++ b/dev-perl/Lab-VXI11/Lab-VXI11-0.20.0.ebuild @@ -11,9 +11,23 @@ inherit perl-module 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 +} diff --git a/dev-perl/Lab-VXI11/metadata.xml b/dev-perl/Lab-VXI11/metadata.xml index e10a656f860c..ffb2370de9aa 100644 --- a/dev-perl/Lab-VXI11/metadata.xml +++ b/dev-perl/Lab-VXI11/metadata.xml @@ -9,4 +9,13 @@ sci@gentoo.org Gentoo Science Project + + perl@gentoo.org + Gentoo Perl Project + + + + Build against net-libs/libtirpc for RPC support + +