Re: graphics/sane-backends build failure

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Wed, 03 May 2023 22:36:03 UTC
04.05.2023 00:22, jonc@chen.org.nz пишет:
> Hi,
>
> After the update to 1.2.1, graphics/sane-backends is currently failing on STABLE/13 during the 'package' phase with:
>
> ===>  Building package for sane-backends-1.2.1
> pkg-static: Unable to access file /construction/xports/graphics/sane-backends/work/stage/usr/local/share/doc/sane-backends/plustek/MakeModule.sh:No such file or directory
> pkg-static: Unable to access file /construction/xports/graphics/sane-backends/work/stage/usr/local/share/doc/sane-backends/plustek/Makefile.kernel24:No such file or directory
> pkg-static: Unable to access file /construction/xports/graphics/sane-backends/work/stage/usr/local/share/doc/sane-backends/plustek/Makefile.kernel26:No such file or directory
> *** Error code 1
>
> --
> Jonathan Chen <jonc@chen.org.nz>

Hi

This is non-default option DOCS.

Try this patch:

diff --git a/graphics/sane-backends/pkg-plist 
b/graphics/sane-backends/pkg-plist
index 444586ac88ec..d15804066df3 100644
--- a/graphics/sane-backends/pkg-plist
+++ b/graphics/sane-backends/pkg-plist
@@ -523,9 +523,6 @@ sbin/saned
  %%PORTDOCS%%%%DOCSDIR%%/mustek_usb2/mustek_usb2.TODO
  %%PORTDOCS%%%%DOCSDIR%%/niash/niash.TODO
  %%PORTDOCS%%%%DOCSDIR%%/plustek/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/plustek/MakeModule.sh
-%%PORTDOCS%%%%DOCSDIR%%/plustek/Makefile.kernel24
-%%PORTDOCS%%%%DOCSDIR%%/plustek/Makefile.kernel26
  %%PORTDOCS%%%%DOCSDIR%%/plustek/Plustek-PARPORT-TODO.txt
  %%PORTDOCS%%%%DOCSDIR%%/plustek/Plustek-PARPORT.changes
  %%PORTDOCS%%%%DOCSDIR%%/plustek/Plustek-PARPORT.txt


-- 
Best regards,
Vladimir Druzenko