Update to p5-Ogg-Vorbis-Header-0.11.

This commit is contained in:
ajacoutot 2021-02-20 17:01:07 +00:00
parent ea7fe333b7
commit 691aa7677f
3 changed files with 13 additions and 12 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.21 2020/07/03 21:44:31 sthen Exp $
# $OpenBSD: Makefile,v 1.22 2021/02/20 17:01:07 ajacoutot Exp $
COMMENT= object-oriented interface to Ogg Vorbis information
MODULES= cpan
DISTNAME = Ogg-Vorbis-Header-0.10
DISTNAME = Ogg-Vorbis-Header-0.11
CATEGORIES= audio
REVISION = 0
# perl
PERMIT_PACKAGE= Yes
@ -17,6 +16,6 @@ RUN_DEPENDS= devel/p5-Inline
BUILD_DEPENDS= devel/p5-Inline
pre-configure:
sed -i 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/lib/Ogg/Vorbis/Header.pm
${SUBST_CMD} ${WRKSRC}/lib/Ogg/Vorbis/Header.pm
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (Ogg-Vorbis-Header-0.10.tar.gz) = IFeA/MLRj+nd4yBMVJy1DzgL0kdO3HjdU53xD8lfEl4=
SIZE (Ogg-Vorbis-Header-0.10.tar.gz) = 33252
SHA256 (Ogg-Vorbis-Header-0.11.tar.gz) = 6MsuBCwt7h9O7THv6AHkRTDnMwC+3OStbGArlaVi8+c=
SIZE (Ogg-Vorbis-Header-0.11.tar.gz) = 33652

View File

@ -1,12 +1,14 @@
$OpenBSD: patch-lib_Ogg_Vorbis_Header_pm,v 1.1 2020/02/07 12:06:32 benoit Exp $
--- lib/Ogg/Vorbis/Header.pm.orig Fri Feb 7 12:43:38 2020
+++ lib/Ogg/Vorbis/Header.pm Fri Feb 7 12:44:10 2020
@@ -7,7 +7,7 @@
our $VERSION = '0.10';
$OpenBSD: patch-lib_Ogg_Vorbis_Header_pm,v 1.2 2021/02/20 17:01:07 ajacoutot Exp $
Index: lib/Ogg/Vorbis/Header.pm
--- lib/Ogg/Vorbis/Header.pm.orig
+++ lib/Ogg/Vorbis/Header.pm
@@ -7,7 +7,7 @@ use warnings;
our $VERSION = '0.11';
use Inline C => 'DATA',
- LIBS => '-logg -lvorbis -lvorbisfile',
+ LIBS => '-L%%LOCALBASE%%/lib -logg -lvorbis -lvorbisfile',
+ LIBS => '-L${LOCALBASE}/lib -logg -lvorbis -lvorbisfile',
INC => '-I/inc',
AUTO_INCLUDE => '#include "inc/vcedit.h"',
AUTO_INCLUDE => '#include "inc/vcedit.c"',