svn commit: r550215 - head/audio/xmcd
Mark Linimon
linimon at FreeBSD.org
Sat Sep 26 19:53:41 UTC 2020
Author: linimon
Date: Sat Sep 26 19:53:40 2020
New Revision: 550215
URL: https://svnweb.freebsd.org/changeset/ports/550215
Log:
Allow building on powerpc64le.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Modified:
head/audio/xmcd/Makefile
Modified: head/audio/xmcd/Makefile
==============================================================================
--- head/audio/xmcd/Makefile Sat Sep 26 19:53:09 2020 (r550214)
+++ head/audio/xmcd/Makefile Sat Sep 26 19:53:40 2020 (r550215)
@@ -10,24 +10,23 @@ MASTER_SITES= http://freebsd.nsu.ru/distfiles/
MAINTAINER= ports at FreeBSD.org
COMMENT= Motif CD player
+BROKEN_armv6= Fails to install: strip: xmcd/bin-FreeBSD_12-armv6/cda failed: No such file or directory
+BROKEN_armv7= Fails to install: strip: xmcd/bin-FreeBSD_12-armv7/cda failed: No such file or directory
+BROKEN_mips64= Fails to compile: many undefined symbols in xorg.cf
+
LIB_DEPENDS+= libvorbis.so:audio/libvorbis \
libFLAC.so:audio/flac
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:S/powerpc64/powerpc/} OPSYS=${OPSYS}
+PLIST_SUB+= RELEASE=${OSREL:R:R} ARCH=${ARCH: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:S/powerpc64/powerpc/}
+LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:C/powerpc64.*/powerpc/}
-BROKEN_aarch64= Fails to compile: many undefined symbols in xorg.cf
-BROKEN_armv6= Fails to install: strip: xmcd/bin-FreeBSD_12-armv6/cda failed: No such file or directory
-BROKEN_armv7= Fails to install: strip: xmcd/bin-FreeBSD_12-armv7/cda failed: No such file or directory
-BROKEN_mips64= Fails to compile: many undefined symbols in xorg.cf
-
pre-patch:
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in
@@ -68,7 +67,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:S/powerpc64/powerpc/}/README
+ ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:C/powerpc64.*/powerpc/}/README
${FIND} ${STAGEDIR}${PREFIX} -name \*.bak -delete
${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
More information about the svn-ports-all
mailing list