From owner-svn-ports-all@freebsd.org Tue Dec 11 07:50:25 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3697E1324EB0; Tue, 11 Dec 2018 07:50:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CEC38894FC; Tue, 11 Dec 2018 07:50:24 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AF4DE2C890; Tue, 11 Dec 2018 07:50:24 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBB7oOfr098642; Tue, 11 Dec 2018 07:50:24 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBB7oOBl098641; Tue, 11 Dec 2018 07:50:24 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201812110750.wBB7oOBl098641@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 11 Dec 2018 07:50:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487224 - head/science/openbabel X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/science/openbabel X-SVN-Commit-Revision: 487224 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: CEC38894FC X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2018 07:50:25 -0000 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 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,' \