Re: git: b54d35f00b62 - main - audio/libmad: Fix distinfo and only enable ASO on supported 32-bit platforms

From: Piotr Kubaj <pkubaj_at_anongoth.pl>
Date: Tue, 27 Sep 2022 11:48:08 UTC
You forgot about powerpc, on which I myself fixed architecture detection
in libmad.

On 22-09-27 10:31:41, Daniel Engberg wrote:
> The branch main has been updated by diizzy:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=b54d35f00b6227425ff19ca78c321ab80e99b8cc
> 
> commit b54d35f00b6227425ff19ca78c321ab80e99b8cc
> Author:     Daniel Engberg <diizzy@FreeBSD.org>
> AuthorDate: 2022-09-27 09:53:54 +0000
> Commit:     Daniel Engberg <diizzy@FreeBSD.org>
> CommitDate: 2022-09-27 10:30:37 +0000
> 
>     audio/libmad: Fix distinfo and only enable ASO on supported 32-bit platforms
>     
>     Distinfo contains stale info for obsolete patch file andonly enable ASO
>     on armv6/v7/i386
>     
>     PR:             266350
>     Approved by:    portmgr (maintainer timeout, 2+ weeks)
> ---
>  audio/libmad/Makefile | 6 +++++-
>  audio/libmad/distinfo | 4 +---
>  2 files changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/audio/libmad/Makefile b/audio/libmad/Makefile
> index 03babcc26c35..6216dc44a4cc 100644
> --- a/audio/libmad/Makefile
> +++ b/audio/libmad/Makefile
> @@ -12,7 +12,11 @@ LICENSE_FILE=	${WRKSRC}/COPYING
>  USES=		cmake cpe pathfix
>  
>  CMAKE_OFF=	MADD_ASM MADD16_ASM
> -CMAKE_ON=	ASO BUILD_SHARED_LIBS
> +CMAKE_ON=	BUILD_SHARED_LIBS ${CMAKE_ON_${ARCH}}
> +CMAKE_ON_armv6=	ASO
> +CMAKE_ON_armv7=	ASO
> +CMAKE_ON_i386= 	ASO
> +
>  USE_LDCONFIG=	yes
>  
>  PLIST_SUB=	PORTVERSION=${PORTVERSION}
> diff --git a/audio/libmad/distinfo b/audio/libmad/distinfo
> index 590440aaff21..62dec1563694 100644
> --- a/audio/libmad/distinfo
> +++ b/audio/libmad/distinfo
> @@ -1,5 +1,3 @@
> -TIMESTAMP = 1662820036
> +TIMESTAMP = 1662854930
>  SHA256 (tenacityteam-libmad-0.16.3_GH0.tar.gz) = 83ca48db60f480ae22234bae08e6ad651adec2667a68ad2df6fd61e6a50a32c7
>  SIZE (tenacityteam-libmad-0.16.3_GH0.tar.gz) = 204264
> -SHA256 (9ec2efa6ba4bfaed7805867077d3a67daa022331.patch) = fb51a0778828a7f662ffdf0a231cf4812608c19db71a2447d81b7c65df403bc8
> -SIZE (9ec2efa6ba4bfaed7805867077d3a67daa022331.patch) = 984