commit: fda4e5bae2e106ffc3ce06fb482fb61a2dbc28aa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 2 23:08:37 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 2 23:08:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fda4e5ba
dev-perl/Device-SerialPort: fix DIST_TEST (cosmetic)
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild
b/dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild
index b877493dcfb5..4e58fdbd37a3 100644
--- a/dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild
+++ b/dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,19 +17,21 @@ KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc sparc x86"
#From the module:
# If you run 'make test', you must make sure that nothing is plugged
# into '/dev/ttyS1'!
-# Doesn't sound wise to enable SRC_TEST="do" - mcummings
+# Doesn't sound wise to enable DIST_TEST="do" - mcummings
src_configure() {
myconf=()
[[ -n "${DEVICE_SERIALPORT_PORT}" ]] && myconf+=(
"TESTPORT=${DEVICE_SERIALPORT_PORT}" )
perl-module_src_configure
}
+
src_compile() {
mymake=(
"OPTIMIZE=${CFLAGS}"
)
perl-module_src_compile
}
+
src_test() {
local MODULES=(
"Device::SerialPort ${DIST_VERSION}"