summaryrefslogtreecommitdiff
path: root/dev-perl/Quota
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Quota')
-rw-r--r--dev-perl/Quota/Manifest2
-rw-r--r--dev-perl/Quota/Quota-1.7.2-r1.ebuild (renamed from dev-perl/Quota/Quota-1.7.2.ebuild)17
2 files changed, 16 insertions, 3 deletions
diff --git a/dev-perl/Quota/Manifest b/dev-perl/Quota/Manifest
index f091cfc2df9c..32031e4fd00c 100644
--- a/dev-perl/Quota/Manifest
+++ b/dev-perl/Quota/Manifest
@@ -1,3 +1,3 @@
DIST Quota-1.7.2.tar.gz 50436 BLAKE2B 6a90e545fcb3739f4f10cbe5caed7ba5a3542c19a8f1b68baeefc12dab77ac27d125e3de083c1cf6d68c29fe126c8e4f2eaddaa1c55c1974de0e0451011f6c7c SHA512 55ea9fbf027676b0e6f7a6f97fd3e75749860ebefe0127791a0d8cd8a427676eb1f6bf1ddf1a3687666752430faef877eedd12ccce39b7b76466fc7bfc628433
-EBUILD Quota-1.7.2.ebuild 666 BLAKE2B 411dc1ad9641724d435802aefff3335ad47984c337125dc9395c5a3142ba7257da78f22ba986cc3b5b6af72b4017691171baf48537ee8eb18b9838f1776e7374 SHA512 5e3e789956a456fad564ef1eb57981826257362fbb1383ef661d5893b73fcc54e6c6103cccebf8fd2c4d7b7e76f7d7cd8060ee0a927c1fc1d5291785fb3f5dc5
+EBUILD Quota-1.7.2-r1.ebuild 1006 BLAKE2B 97c7c37da8e6a61bccbc0678fc2643456da6541f62a1c09e9a92352ce2a3901cc786c813f498dd4cd8be4e79b5999e0e629a6ef8098dcb36549d12ff136fcaf6 SHA512 73b45e6cd0820c8daf5c429e803a0af2276036afe0b4fd6c4af314c8b6cf34c99e3072680f48e3238ac31c027a2cf85375668476ad424b6e54100615efe38e83
MISC metadata.xml 1097 BLAKE2B 0f42a9e1bd2e313d426329bc432a483de366899b90ee0acbc95587adbcf4137dcd21c03633caf77abebc7df9c777dd5681d51767d0877f99ad007cd8fee2934d SHA512 8f6deeb42c3c0dfa770d2e516611151388febae3fefdf466f5cfa6dd3af1bce6b2f55e578a1594cb4a126f64dbaae17887f083629543f57e066a08da87d0bc51
diff --git a/dev-perl/Quota/Quota-1.7.2.ebuild b/dev-perl/Quota/Quota-1.7.2-r1.ebuild
index 7e107a67f8fd..bb9aaf148174 100644
--- a/dev-perl/Quota/Quota-1.7.2.ebuild
+++ b/dev-perl/Quota/Quota-1.7.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,6 +14,7 @@ IUSE=""
RDEPEND="
sys-fs/quota[rpc]
+ net-libs/libtirpc
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
@@ -24,8 +25,20 @@ DIST_TEST=skip
src_prepare() {
default
- export mymake="OPTIMIZE=$($(tc-getPKG_CONFIG) --cflags libtirpc)"
+ export mymake="INC=$($(tc-getPKG_CONFIG) --cflags libtirpc) OTHERLDFLAGS=$($(tc-getPKG_CONFIG) --libs libtirpc)"
# disable AFS completely for now, need somebody who can really test it
sed -i -e 's|-d "/afs"|0|' Makefile.PL || die "sed failed"
}
+
+src_test() {
+ ebegin "Compile testing Quota ${PV}"
+ perl -Mblib="${S}" -M"Quota ${PV} ()" -e1
+ if ! eend $?; then
+ echo
+ eerror "One or more modules failed compile:";
+ eerror " Quota ${PV}"
+ die "Failing due to module compilation errors";
+ fi
+ perl-module_src_test
+}