From owner-svn-ports-head@freebsd.org Mon Mar 20 03:20:15 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C5A4D14CFD; Mon, 20 Mar 2017 03:20:15 +0000 (UTC) (envelope-from danfe@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 mx1.freebsd.org (Postfix) with ESMTPS id D01B615D5; Mon, 20 Mar 2017 03:20:14 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2K3KDKT083960; Mon, 20 Mar 2017 03:20:13 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2K3KD9e083959; Mon, 20 Mar 2017 03:20:13 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201703200320.v2K3KD9e083959@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 20 Mar 2017 03:20:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436530 - head/science/libint X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2017 03:20:15 -0000 Author: danfe Date: Mon Mar 20 03:20:13 2017 New Revision: 436530 URL: https://svnweb.freebsd.org/changeset/ports/436530 Log: - Introduce couple of useful mathematical options and debugging support - Respect CFLAGS/CXXFLAGS (when building the port in release mode) PR: 204179 Modified: head/science/libint/Makefile Modified: head/science/libint/Makefile ============================================================================== --- head/science/libint/Makefile Mon Mar 20 02:13:15 2017 (r436529) +++ head/science/libint/Makefile Mon Mar 20 03:20:13 2017 (r436530) @@ -4,7 +4,7 @@ PORTNAME= libint DISTVERSIONPREFIX= release- DISTVERSION= 1-1-6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MAINTAINER= ports@FreeBSD.org @@ -19,7 +19,7 @@ GH_ACCOUNT= evaleev # USE_GCC=yes is required because libint is used with mpqc which is built # by gfortran48 (from `lang/gcc') and these two libraries each try to pull # in a different version of libgcc_s.so which fails. Forcing this port to -# build with lang/gcc as well resolves the conflict that manifests in +# build with `lang/gcc' as well resolves the conflict that manifests in # `science/libghemical' port. USES= autoreconf gmake libtool perl5 USE_GCC= yes @@ -27,7 +27,17 @@ USE_LDCONFIG= yes ALL_TARGET= default GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared +CONFIGURE_ARGS= --enable-shared --with-cc-optflags="${CFLAGS}" \ + --with-cxx-optflags="${CXXFLAGS}" + +OPTIONS_DEFINE= DEBUG DERIV R12 + +DERIV_DESC= 1st- and 2nd-order derivative ERI support +R12_DESC= Linear R12 methods integrals support + +DEBUG_CONFIGURE_ON= --enable-debug +DERIV_CONFIGURE_ON= --enable-deriv +R12_CONFIGURE_ON= --enable-r12 post-patch: @${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \