Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 21:55:32 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478256 - head/science/ghemical
Message-ID:  <201808272155.w7RLtWfR059648@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Aug 27 21:55:31 2018
New Revision: 478256
URL: https://svnweb.freebsd.org/changeset/ports/478256

Log:
  science/ghemical: Fix build error on CURRENT; Add missing dependences
  
  Build was failing: prevent build errors: non-constant-expression cannot be narrowed from type 'double' to 'fGL' (aka 'float')
  
  Reported by:	fallout

Modified:
  head/science/ghemical/Makefile

Modified: head/science/ghemical/Makefile
==============================================================================
--- head/science/ghemical/Makefile	Mon Aug 27 21:24:32 2018	(r478255)
+++ head/science/ghemical/Makefile	Mon Aug 27 21:55:31 2018	(r478256)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ghemical
 PORTVERSION=	3.0.0
-PORTREVISION=	14
+PORTREVISION=	15
 CATEGORIES=	science
 MASTER_SITES=	http://bioinformatics.org/ghemical/download/%SUBDIR%/
 MASTER_SITE_SUBDIR=	release20111012 current
@@ -14,22 +14,28 @@ COMMENT=	Computational chemistry software package
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libmopac7.so:biology/mopac \
+LIB_DEPENDS=	libblas.so:math/blas \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
 		libghemical.so:science/libghemical \
+		libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
+		libint.so:science/libint \
+		liblapack.so:math/lapack \
 		liboglappth.so:science/liboglappth \
-		libmpqc.so:science/mpqc \
 		libopenbabel.so:science/openbabel \
-		libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
+		libmopac7.so:biology/mopac \
+		libmpqc.so:science/mpqc
 RUN_DEPENDS=	xdg-open:devel/xdg-utils
 
 USES=		fortran gettext gmake pathfix pkgconfig
-USE_GNOME=	gtk20 libglade2 intltool
-USE_GL=		glu
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-gtk --enable-threads --enable-openbabel
+USE_GNOME=	cairo gdkpixbuf2 gtk20 libglade2 intltool pangox-compat
+USE_GL=		gl glu
+USE_XORG=	x11
 
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CXXFLAGS+=	-Wno-c++11-narrowing # prevent build errors: non-constant-expression cannot be narrowed from type 'double' to 'fGL' (aka 'float')
 
 PLIST_SUB=	GHEMICAL_VERSION="${PORTVERSION}"
 



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