1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

Allow building on powerpc64le.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2020-09-26 19:53:40 +00:00
parent 5019d0a382
commit ba643ec8f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550215

View File

@ -10,23 +10,22 @@ MASTER_SITES= http://freebsd.nsu.ru/distfiles/
MAINTAINER= ports@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/}
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
LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH:C/powerpc64.*/powerpc/}
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