aboutsummaryrefslogtreecommitdiff
path: root/science/ghmm
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 17:06:02 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 17:47:39 +0000
commit1a4fd51f91cfe3c27b9c0ba8b96d75dcdc812a21 (patch)
tree808beff2e03f982f3eca543f10b81d1ac1e29eb7 /science/ghmm
parentca88d76e3423aa77ee9b10e093d2fc1efe472e67 (diff)
downloadports-1a4fd51f91cfe3c27b9c0ba8b96d75dcdc812a21.tar.gz
ports-1a4fd51f91cfe3c27b9c0ba8b96d75dcdc812a21.zip
science/ghmm: Fix build with llvm15
- Pet portclippy - Adopt port
Diffstat (limited to 'science/ghmm')
-rw-r--r--science/ghmm/Makefile19
1 files 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>