git: 6cd63b91f3de - main - cad/gmsh: disable Mesquite on 32 bits ARCHs

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 23 Jun 2024 13:00:02 UTC
The branch main has been updated by thierry:

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

commit 6cd63b91f3dede25549e3f5d63dbaf823752601e
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2024-06-23 12:55:23 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-06-23 12:58:40 +0000

    cad/gmsh: disable Mesquite on 32 bits ARCHs
    
    Reported by:    pkg-fallout
---
 cad/gmsh/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index 55c2590f9f5a..88648dc412b5 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -27,14 +27,20 @@ LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk \
 		libmathex.so:math/mathex \
 		libalglib.so:math/alglib \
 		libvoro++.so:science/voro++ \
-		libmesquite.so:math/mesquite \
 		libfreetype.so:print/freetype2 \
-		libtinyxml2.so:textproc/tinyxml2
+		libtinyxml2.so:textproc/tinyxml2 \
+		${LIB_DEPENDS_${ARCH}}
 RUN_DEPENDS=	getdp:science/getdp
 
 USES=		bison compiler:c++14-lang cmake:testing eigen:3 fortran gl	\
 		jpeg localbase tar:tgz xorg
 
+# Only for 64 bits ARCHs
+LIB_DEPENDS_aarch64=	libmesquite.so:math/mesquite
+LIB_DEPENDS_amd64=	libmesquite.so:math/mesquite
+LIB_DEPENDS_powerpc64=	libmesquite.so:math/mesquite
+LIB_DEPENDS_powerpc64le=libmesquite.so:math/mesquite
+
 USE_GL=		gl glu
 USE_XORG=	ice sm x11 xcursor xext xinerama xfixes xft xrender
 USE_LDCONFIG=	yes