[Bug 242345] audio/logitechmediaserver : Update to version 8.0.0, 8.1.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Sep 2021 13:39:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242345

--- Comment #20 from Hans Soonieus <hans@soonieus.nl> ---
(In reply to David Z. from comment #19)

Hello David,

This seems to be a warning specific to poudriere. If the build completes
without error than the arch determination works because if it didn't then the
build would fail with an error like this :

cd:
/usr/home/hans/logitechmediaserver-8.2.1/work/slimserver-vendor-1a6dc71/CPAN/build/arch/5.32/nonesense:
No such file or directory
*** Error code 2

Stop.
make[1]: stopped in /usr/home/hans/logitechmediaserver-8.2.1
*** Error code 1

Stop.
make: stopped in /usr/home/hans/logitechmediaserver-8.2.1


In Makefile line 87 and 88 the perl archname is determined and put in a
variable ARCHNAME which is later (from line 102) used to copy files from the
slimserver-vendor work directory to the staging directory.

Originally this was done like this :

.if ${ARCH} == "i386"
ARCHNAME=       i386-freebsd-thread-multi-64int
PLIST_SUB+=     I386_ONLY=""
.else
PLIST_SUB+=     I386_ONLY="@comment "
.endif

.if ${ARCH} == "amd64"
ARCHNAME=       amd64-freebsd-thread-multi
PLIST_SUB+=     AMD64_ONLY=""
.else
PLIST_SUB+=     AMD64_ONLY="@comment "
.endif

The PLIST_SUB is no longer necessary so line 87 and 88 could be replaced by :

.if ${ARCH} == "i386"
ARCHNAME=       i386-freebsd-thread-multi-64int
.endif

.if ${ARCH} == "amd64"
ARCHNAME=       amd64-freebsd-thread-multi
.endif

-- 
You are receiving this mail because:
You are the assignee for the bug.