git: ac368b4fc3db - main - audio/xmcd: Fix build on aarch64
Mikael Urankar
mikael at FreeBSD.org
Fri May 28 13:18:21 UTC 2021
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ac368b4fc3db0453915820642cce3509ddfb8d83
commit ac368b4fc3db0453915820642cce3509ddfb8d83
Author: Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-05-28 13:16:59 +0000
Commit: Mikael Urankar <mikael at 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
More information about the dev-commits-ports-all
mailing list