diff options
author | Sam James <sam@gentoo.org> | 2022-07-03 00:08:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-03 00:08:37 +0100 |
commit | fda4e5bae2e106ffc3ce06fb482fb61a2dbc28aa (patch) | |
tree | 0dcf7695e75dcafc3e0d236ef9ebfd1414381e33 /dev-perl/Device-SerialPort | |
parent | www-apps/ikiwiki: fix DIST_TEST (diff) | |
download | gentoo-fda4e5bae2e106ffc3ce06fb482fb61a2dbc28aa.tar.gz gentoo-fda4e5bae2e106ffc3ce06fb482fb61a2dbc28aa.tar.bz2 gentoo-fda4e5bae2e106ffc3ce06fb482fb61a2dbc28aa.zip |
dev-perl/Device-SerialPort: fix DIST_TEST (cosmetic)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Device-SerialPort')
-rw-r--r-- | dev-perl/Device-SerialPort/Device-SerialPort-1.40.0-r3.ebuild | 6 |
1 files 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}" |