dev-perl/Device-SerialPort: fix DIST_TEST (cosmetic)

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-07-03 00:08:37 +01:00
parent c8a96f7d7f
commit fda4e5bae2

View File

@@ -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}"