Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2021 15:20:05 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 385516904c1e - 2021Q3 - multimedia/gstreamer1-libav: Fix build on aarch64
Message-ID:  <202107181520.16IFK5jR026707@gitrepo.freebsd.org>

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

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

commit 385516904c1e1402e9a9ceb7327d8b9b1874732f
Author:     Aoek <pr@aoek.com>
AuthorDate: 2021-07-18 15:14:44 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-07-18 15:19:54 +0000

    multimedia/gstreamer1-libav: Fix build on aarch64
    
    Fix build on aarch64 when FFMPEG option is off.
    This is similar to the fix in multimedia/ffmpeg: svn port r507608
    
    PR:             256935
    Approved by:    portmgr (build fix blanket)
    
    (cherry picked from commit 905dfe641b7045ca5b92dab3f11acda51d380134)
---
 multimedia/gstreamer1-libav/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/multimedia/gstreamer1-libav/Makefile b/multimedia/gstreamer1-libav/Makefile
index 054fbecbce60..12c5bddeca6d 100644
--- a/multimedia/gstreamer1-libav/Makefile
+++ b/multimedia/gstreamer1-libav/Makefile
@@ -35,6 +35,12 @@ FFMPEG_BUILD_DEPENDS_OFF=	nasm:devel/nasm
 FFMPEG_MAKE_ENV_OFF=	V=1
 FFMPEG_VARS_OFF+=	NOPRECIOUSMAKEVARS=yes # ARCH
 
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MFFMPEG)
+LDFLAGS_aarch64=	-Wl,-z,notext
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-Werror||g' \
 		${WRKSRC}/configure



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