summaryrefslogtreecommitdiff
path: root/dev-perl/Lab-VXI11
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Lab-VXI11')
-rw-r--r--dev-perl/Lab-VXI11/Lab-VXI11-0.20.0.ebuild16
-rw-r--r--dev-perl/Lab-VXI11/Manifest4
-rw-r--r--dev-perl/Lab-VXI11/metadata.xml9
3 files changed, 26 insertions, 3 deletions
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/Manifest b/dev-perl/Lab-VXI11/Manifest
index 1059188981e3..69b6d8270ed4 100644
--- a/dev-perl/Lab-VXI11/Manifest
+++ b/dev-perl/Lab-VXI11/Manifest
@@ -1,3 +1,3 @@
DIST Lab-VXI11-0.02.tar.gz 59626 SHA256 7d1405500a1380e979aadb8e399f957073192cd2451285584f44085e3524323d SHA512 73ee82df15b2cece5f93ad23dd5ed4cc343fcfbdacea5b3cf38f8e0c97ee6b02dcc9b3858838d36cca743077d77c0505a5f763c0f31312e2a6cbadd4c78cd356 WHIRLPOOL c5872b0e5dbd1d6328082a2fd08b341e4368419a538d8fbf2afde48795e2a15fc7d211645a8faf2bfa7119c5cf5cd19e435f7467db779e988e8093bd9d32b6d6
-EBUILD Lab-VXI11-0.20.0.ebuild 341 SHA256 9d28c345f19ad3ad0ee7f5fbe42688543832c7ec1c4a2f09689f2f347a7c603a SHA512 00b8c92a7c5192198824e1e002e83cc7199ca2db185583660d5cd30d7e65e516268be9a798d99d422af1dda8bfec760d42f63d3be06cb19001e839d34f6baa21 WHIRLPOOL a8961870f117edcdebdebd490e5701148b09a4c17df0668b17b6fda20c4bc129332b2c8d43ae4b86158d0af45268d5fa7aa8ce05860d52cc782fbb7f6510ea09
-MISC metadata.xml 380 SHA256 9f772c0b21f7c7880970432f8fd6598e64601e801b9d86dad9a82e7b91fb3a14 SHA512 6d769e95dd726bdffb02318b577e7c46a445592d3b750d19823d874ecb6f6cc1fc7a31e44800addd9ea1ff120b04049733195019f878a8997e047dfed3f771bd WHIRLPOOL 4e141cf8d669f31c5415683cfd2aabe47e1127e88f3f414d1bf6f1d9e15f8d839bbbde728bcec7d286ff8391c3b68d5bb5afbd318e7ac2bd94409ad76b94c319
+EBUILD Lab-VXI11-0.20.0.ebuild 585 SHA256 c72fad50ef0cfc453ff50dc59241e245fd7b07ba1b3603b08c575bec3227a796 SHA512 83fa32a2b694f3c01ae60005b81ccc42155b812eb44c4e8f8f093db3400d1370a254b5c396444baad87faca82f24f1fb47557082122516d17522d1194e8ed2ba WHIRLPOOL 4ee78474ee8bc9279345bc5a4fd4306fd763afc8dcb3ee6f9874db1b5539b21c865c990eeca1573a33aacd4faad89eb30160301befc45f61cf1e7e960950cb8e
+MISC metadata.xml 619 SHA256 b5a8eab381aae35312697594fcdfa4bcbf7d39e1d3d8b1a87af1b313f82a56ec SHA512 6ee33f4b7d41aa0827b98e15040bc91672905609efd8e96626471f3b1dea098eda608b0f64ad6051efae6b097f213ab5bdde95fbfaa963ed73406f808ff0c096 WHIRLPOOL 4eb2ca348c8abac7280ebd29b429201803128f92f6af95ce776786cc8cf24ab747947596dce26a005365c55683fdd63b7c818bc9f1ec8a2081a23139918d3890
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 @@
<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>