FreeBSD Bugzilla – Attachment 251653 Details for
Bug 279935
science/mmg: Improve port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for mmg
mmg-fixupv2.patch (text/plain), 2.12 KB, created by
Daniel Engberg
on 2024-06-23 17:29:31 UTC
(
hide
)
Description:
Patch for mmg
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-06-23 17:29:31 UTC
Size:
2.12 KB
patch
obsolete
>diff --git a/science/mmg/Makefile b/science/mmg/Makefile >index 9d7280445d4a..2647abe39e67 100644 >--- a/science/mmg/Makefile >+++ b/science/mmg/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= mmg >-PORTVERSION= 5.7.3 > DISTVERSIONPREFIX= v >+DISTVERSION= 5.7.3 > CATEGORIES= science > > MAINTAINER= thierry@FreeBSD.org >@@ -10,21 +10,19 @@ WWW= https://www.mmgtools.org/ > LICENSE= LGPL3 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-BUILD_DEPENDS= git:devel/git \ >- bash:shells/bash > LIB_DEPENDS= libscotch.so:cad/scotch \ > libElas.so:science/linearelasticity \ > libvtksys-${VTK_VER}.so:math/vtk${VTK_VER:R} > >-USES= cmake:testing perl5 shebangfix >+USES= cmake perl5 shebangfix > USE_PERL5= build >-SHEBANG_FILES= scripts/*.sh >+SHEBANG_FILES= scripts/*.pl >+USE_LDCONFIG= yes > > USE_GITHUB= yes > GH_ACCOUNT= MmgTools > > CMAKE_ON= BUILD_SHARED_LIBS >-USE_LDCONFIG= yes > > .include <../../math/vtk9/Makefile.version> > .include <bsd.port.mk> >diff --git a/science/mmg/files/patch-CMakeLists.txt b/science/mmg/files/patch-CMakeLists.txt >new file mode 100644 >index 000000000000..c7cb99ce1840 >--- /dev/null >+++ b/science/mmg/files/patch-CMakeLists.txt >@@ -0,0 +1,14 @@ >+--- CMakeLists.txt.orig 2024-04-25 08:15:24 UTC >++++ CMakeLists.txt >+@@ -124,10 +124,7 @@ IF (NOT WIN32 OR MINGW) >+ IF (NOT WIN32 OR MINGW) >+ >+ ADD_CUSTOM_TARGET(GenerateGitHashMmg >+- COMMAND ./git_log_mmg.sh ${PROJECT_SOURCE_DIR} ${MMGCOMMON_BINARY_DIR} >+- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/scripts/ >+- COMMENT "Getting git commit hash" >+- BYPRODUCTS ${MMGCOMMON_BINARY_DIR}/git_log_mmg.h >++ COMMAND cp ${PROJECT_SOURCE_DIR}/git_log_mmg.h ${MMGCOMMON_BINARY_DIR}/git_log_mmg.h >+ ) >+ ENDIF () >+ >diff --git a/science/mmg/files/patch-git__log__mmg.h b/science/mmg/files/patch-git__log__mmg.h >new file mode 100644 >index 000000000000..4a8ec0ac0b8a >--- /dev/null >+++ b/science/mmg/files/patch-git__log__mmg.h >@@ -0,0 +1,9 @@ >+--- git_log_mmg.h.orig 2024-06-23 16:47:08 UTC >++++ git_log_mmg.h >+@@ -0,0 +1,6 @@ >++#ifndef _GIT_LOG_MMG_H >++#define _GIT_LOG_MMG_H >++#define MMG_GIT_BRANCH "No git branch found" >++#define MMG_GIT_COMMIT "No git commit found" >++#define MMG_GIT_DATE "No git commit found" >++#endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279935
:
251652
| 251653