Date: Tue, 11 Dec 2018 07:50:24 +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: r487224 - head/science/openbabel Message-ID: <201812110750.wBB7oOBl098641@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Tue Dec 11 07:50:24 2018 New Revision: 487224 URL: https://svnweb.freebsd.org/changeset/ports/487224 Log: science/openbabel: fix build with GCC-based architectures While here, also add USES=gnome. PR: 233912 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Modified: head/science/openbabel/Makefile Modified: head/science/openbabel/Makefile ============================================================================== --- head/science/openbabel/Makefile Tue Dec 11 07:48:12 2018 (r487223) +++ head/science/openbabel/Makefile Tue Dec 11 07:50:24 2018 (r487224) @@ -13,11 +13,9 @@ COMMENT= Chemical toolbox designed to speak the many l LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_powerpc64= Does not build: relocation truncated to fit: R_PPC64_TOC16_DS - CONFLICTS_INSTALL= babel-* -USES= cmake:outsource eigen:3 +USES= compiler:c++11-lang cmake:outsource eigen:3 gnome USE_CXXSTD= gnu++98 USE_GNOME= libxml2 USE_LDCONFIG= yes @@ -37,7 +35,12 @@ PYTHON_CMAKE_BOOL= PYTHON_BINDINGS GUI_CMAKE_BOOL= BUILD_GUI GUI_CMAKE_ON= -DwxWidgets_CONFIG_EXECUTABLE:STRING=${WX_CONFIG} -GUI_USE= WX=3.0 +GUI_USE= WX=3.1 + +.if exists(/usr/lib/libstdc++.so) +CXXFLAGS+= -Wno-narrowing +USE_CXXSTD= c++11 +.endif post-patch: ${REINPLACE_CMD} -e '/pkgconfig/s,$${LIB_INSTALL_DIR},libdata,' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812110750.wBB7oOBl098641>