Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2023 17:48:41 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1a4fd51f91cf - main - science/ghmm: Fix build with llvm15
Message-ID:  <202306061748.356HmfhV029849@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 1a4fd51f91cfe3c27b9c0ba8b96d75dcdc812a21
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-06 17:06:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-06 17:47:39 +0000

    science/ghmm: Fix build with llvm15
    
    - Pet portclippy
    - Adopt port
---
 science/ghmm/Makefile | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/science/ghmm/Makefile b/science/ghmm/Makefile
index e13f5da2b582..25e812924344 100644
--- a/science/ghmm/Makefile
+++ b/science/ghmm/Makefile
@@ -4,22 +4,27 @@ PORTREVISION=	2
 CATEGORIES=	science math
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${DISTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	General Hidden Markov Model Library in C
 WWW=		http://ghmm.sourceforge.net/
 
 LICENSE=	GPLv3
 
-#BUILD_DEPENDS=	swig:devel/swig13
+USES=		autoreconf gnome libtool pkgconfig
+USE_GNOME=	libxml2
+USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-USE_GNOME=	libxml2
-USES=		autoreconf gnome libtool pkgconfig
 CONFIGURE_ARGS+=	--without-python
 
-USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
 
 CONFLICTS_INSTALL=	graphviz # bin/cluster
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>



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