git: aeed33b9c143 - main - devel/godot: fix build of devel/godot-tools on armv7

Tobias C. Berner tcberner at FreeBSD.org
Sat Sep 4 11:40:29 UTC 2021


The branch main has been updated by tcberner:

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

commit aeed33b9c143a27ed397bb7c51c5b60383328df1
Author:     Robert Clausecker <fuz at fuz.su>
AuthorDate: 2021-09-04 11:35:44 +0000
Commit:     Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-09-04 11:39:26 +0000

    devel/godot: fix build of devel/godot-tools on armv7
    
    Switch to always using libvpx from ports.
    
    PR:             258163
    Approved by:    FreeBSD at ShaneWare.Biz (maintainer)
---
 devel/godot/Makefile | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/devel/godot/Makefile b/devel/godot/Makefile
index 6384ae971f6a..5da6c5369300 100644
--- a/devel/godot/Makefile
+++ b/devel/godot/Makefile
@@ -17,7 +17,8 @@ LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.txt
 BUILD_DEPENDS=	yasm:devel/yasm
 LIB_DEPENDS=	libfreetype.so:print/freetype2 \
 		libpcre2-8.so:devel/pcre2 \
-		libpng.so:graphics/png
+		libpng.so:graphics/png \
+		libvpx.so:multimedia/libvpx
 RUN_DEPENDS=	xdg-user-dir:devel/xdg-user-dirs \
 		xdg-open:devel/xdg-utils \
 		xmessage:x11/xmessage
@@ -30,8 +31,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	godotengine
 
 MAKE_ARGS+=		platform=x11 builtin_freetype=False \
-			builtin_libpng=False builtin_pcre2=False \
-			builtin_zlib=False verbose=True
+			builtin_libpng=False builtin_libvpx=False \
+			builtin_pcre2=False builtin_zlib=False verbose=True
 MAKE_ARGS+=		${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}}
 MAKE_ARGS_clang=	use_llvm=True use_lld=True
 CXXFLAGS_i386=		${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}}
@@ -82,14 +83,6 @@ PLIST_FILES=		bin/${GODOTFILE}
 .MAKEFLAGS:	WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE=
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} != aarch64 && ${ARCH} != amd64 && ${ARCH} != i386 && ${ARCH} != armv6 && ${ARCH} != armv7
-# use system libvpx on archs that break with built-in
-LIB_DEPENDS+=	libvpx.so:multimedia/libvpx
-MAKE_ARGS+=	builtin_libvpx=False
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \
 		${WRKSRC}/methods.py
@@ -122,4 +115,4 @@ do-install-TOOLS-on:
 	${INSTALL_DATA} ${WRKSRC}/icon.svg \
 		${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.svg
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the dev-commits-ports-main mailing list