Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2021 13:18:20 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ac368b4fc3db - main - audio/xmcd: Fix build on aarch64
Message-ID:  <202105281318.14SDIK0T006065@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac368b4fc3db0453915820642cce3509ddfb8d83

commit ac368b4fc3db0453915820642cce3509ddfb8d83
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2021-05-28 13:16:59 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-05-28 13:18:18 +0000

    audio/xmcd: Fix build on aarch64
    
    strip: open <snip>/bin-FreeBSD_14-aarch64/cda failed: No such file or directory
    
    Approved by:    portmgr (build fix blanket)
---
 audio/xmcd/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile
index b94e06738568..3328c4c8b588 100644
--- a/audio/xmcd/Makefile
+++ b/audio/xmcd/Makefile
@@ -19,12 +19,12 @@ RUN_DEPENDS+=	lame:audio/lame
 
 USES=		imake motif ncurses xorg
 USE_XORG=	x11 xext xaw xmu xpm xt sm ice
-PLIST_SUB+=	RELEASE=${OSREL:R:R} ARCH=${ARCH:C/powerpc64.*/powerpc/} OPSYS=${OPSYS}
+PLIST_SUB+=	RELEASE=${OSREL:R:R} ARCH=${ARCH:S/aarch64/arm64/:C/powerpc64.*/powerpc/} OPSYS=${OPSYS}
 SUB_FILES=	pkg-message
 
 CFLAGS+=	-D_WANT_SEMUN
 
-LIBBINDIR=	${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:C/powerpc64.*/powerpc/}
+LIBBINDIR=	${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:S/aarch64/arm64/:C/powerpc64.*/powerpc/}
 
 pre-patch:
 	@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in
@@ -66,7 +66,7 @@ post-install:
 		-e 's:${STAGEDIR}::' \
 		${STAGEDIR}${PREFIX}/lib/X11/xmcd/discog/discog.html \
 		${STAGEDIR}${PREFIX}/lib/X11/xmcd/config/config.sh \
-		${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:C/powerpc64.*/powerpc/}/README
+		${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:S/aarch64/arm64/:C/powerpc64.*/powerpc/}/README
 	${FIND} ${STAGEDIR}${PREFIX} -name \*.bak -delete
 	${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105281318.14SDIK0T006065>