]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
perl-Device-SerialPort: Use /dev/null as test port
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Jul 2024 08:16:17 +0000 (08:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 8 Jul 2024 15:39:43 +0000 (15:39 +0000)
The build failed with the new minimal /dev it is looking for some TTY
devices which are no longer present. This patch fixes the build.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/perl-Device-SerialPort

index 37138430e36a3777d84610d317d4f8318527e7ef..7f40b55876d37bd2409b8e66d169ada33c420506 100644 (file)
@@ -70,7 +70,7 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && perl Makefile.PL
+       cd $(DIR_APP) && perl Makefile.PL TESTPORT=/dev/null
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)