Fri Apr 26 15:42:53 2024 UTC (17d)
libopus: try fixing build on arm

The build there seems to run a perl script, so replace the perl
interpreter and tool-depend on perl.


(wiz)
diff -r1.19 -r1.20 pkgsrc/audio/libopus/Makefile

cvs diff -r1.19 -r1.20 pkgsrc/audio/libopus/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/libopus/Makefile 2024/04/13 05:31:29 1.19
+++ pkgsrc/audio/libopus/Makefile 2024/04/26 15:42:53 1.20
@@ -1,24 +1,28 @@ @@ -1,24 +1,28 @@
1# $NetBSD: Makefile,v 1.19 2024/04/13 05:31:29 adam Exp $ 1# $NetBSD: Makefile,v 1.20 2024/04/26 15:42:53 wiz Exp $
2 2
3DISTNAME= opus-1.5.2 3DISTNAME= opus-1.5.2
4PKGNAME= lib${DISTNAME} 4PKGNAME= lib${DISTNAME}
5CATEGORIES= audio 5CATEGORIES= audio
6MASTER_SITES= https://downloads.xiph.org/releases/opus/ 6MASTER_SITES= https://downloads.xiph.org/releases/opus/
7 7
8MAINTAINER= ryoon@NetBSD.org 8MAINTAINER= ryoon@NetBSD.org
9HOMEPAGE= https://opus-codec.org/ 9HOMEPAGE= https://opus-codec.org/
10COMMENT= Totally open, royalty-free, highly versatile audio codec library 10COMMENT= Totally open, royalty-free, highly versatile audio codec library
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
 13TOOL_DEPENDS+= perl-[0-9]*:../../lang/perl5
 14
13SUPERSEDES= opus<=1.0.2 15SUPERSEDES= opus<=1.0.2
14 16
15USE_LIBTOOL= yes 17USE_LIBTOOL= yes
16USE_TOOLS+= gmake 18USE_TOOLS+= gmake
17GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
18TEST_TARGET= check 20TEST_TARGET= check
19 21
20PKGCONFIG_OVERRIDE+= opus.pc.in 22PKGCONFIG_OVERRIDE+= opus.pc.in
21 23
 24REPLACE_PERL+= celt/arm/arm2gnu.pl
 25
22.include "options.mk" 26.include "options.mk"
23 27
24.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"