multimedia/{lib,}x264: return to building with clang on powerpc64 elfv2

Head r359981 and r359994 reverted commits that caused clang to run in infinite loop, allocating all available memory and crashing the system.
This commit is contained in:
Piotr Kubaj 2020-04-16 19:43:38 +00:00
parent 031be99aed
commit 0c588166f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531878
2 changed files with 3 additions and 9 deletions

View file

@ -3,7 +3,7 @@
#
# Updating notes: see multimedia/x264/Makefile.
PORTREVISION= 0
PORTREVISION= 1
PKGNAMEPREFIX= lib
COMMENT= H.264/MPEG-4 AVC Video Encoding (Library)
MASTERDIR= ${.CURDIR}/../x264

View file

@ -18,7 +18,7 @@
PORTNAME= x264
PORTVERSION= 0.${X264_BUILD}.${X264_REV}
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES= multimedia
MASTER_SITES= https://samples.mplayerhq.hu/yuv4mpeg2/:pgo
DIST_SUBDIR= x264
@ -98,12 +98,6 @@ CONFIGURE_ARGS+= --prefix="${PREFIX}" \
--extra-cflags="${CPPFLAGS} ${CFLAGS}" \
--extra-ldflags="${LDFLAGS}"
.include <bsd.port.pre.mk>
.if ${ARCH} == powerpc64
USE_GCC= yes
.endif
post-extract-PGO-on:
@${BZIP2_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/${Y4M_VIDEO_DISTFILE} \
>${WRKDIR}/${Y4M_VIDEO}
@ -123,4 +117,4 @@ pre-build:
@(${RM} ${WRKSRC}/x264_config.h)
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>