From owner-svn-ports-all@freebsd.org Sun Jan 14 17:47:13 2018 Return-Path: Delivered-To: svn-ports-all@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 B496BE7CC21; Sun, 14 Jan 2018 17:47:13 +0000 (UTC) (envelope-from tijl@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 90D691A46; Sun, 14 Jan 2018 17:47:13 +0000 (UTC) (envelope-from tijl@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 D107824E6A; Sun, 14 Jan 2018 17:47:12 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0EHlCHW065464; Sun, 14 Jan 2018 17:47:12 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0EHlCOw065463; Sun, 14 Jan 2018 17:47:12 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201801141747.w0EHlCOw065463@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sun, 14 Jan 2018 17:47:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458985 - in head/science/libint: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: in head/science/libint: . files X-SVN-Commit-Revision: 458985 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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: Sun, 14 Jan 2018 17:47:13 -0000 Author: tijl Date: Sun Jan 14 17:47:12 2018 New Revision: 458985 URL: https://svnweb.freebsd.org/changeset/ports/458985 Log: - Don't run autoreconf, but run some of the autotools from pre-configure instead. Autoreconf runs autoheader which replaces a handmade config header. - Remove options. DEBUG only adds -g which is already handled by WITH_DEBUG. DERIV and R12 don't have any impact. They are enabled by default upstream and the port Makefile never passed --disable-* when the options are disabled. Reasons to remove these options: the only port (science/mpqc) that depends on this port requires the options to be enabled, no additional dependencies and no significant additional build time or disk space. Deleted: head/science/libint/files/ Modified: head/science/libint/Makefile Modified: head/science/libint/Makefile ============================================================================== --- head/science/libint/Makefile Sun Jan 14 17:24:54 2018 (r458984) +++ head/science/libint/Makefile Sun Jan 14 17:47:12 2018 (r458985) @@ -4,7 +4,7 @@ PORTNAME= libint DISTVERSIONPREFIX= release- DISTVERSION= 1-1-6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= science MAINTAINER= ports@FreeBSD.org @@ -21,7 +21,7 @@ GH_ACCOUNT= evaleev # in libgcc_s.so which fails if it's different versions. Forcing this port # to build with the default version of GCC as well resolves the conflict # that manifests in the science/libghemical port. -USES= autoreconf gmake libtool perl5 +USES= autoreconf:build gmake libtool perl5 USE_GCC= yes USE_LDCONFIG= yes ALL_TARGET= default @@ -30,18 +30,14 @@ GNU_CONFIGURE= yes 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' \ ${WRKSRC}/src/lib/MakeVars.in + +pre-configure: +# Cannot run autoheader so cannot use autoreconf. + @(cd ${WRKSRC} && ${LOCALBASE}/bin/libtoolize -c -f \ + && ${LOCALBASE}/bin/aclocal && ${LOCALBASE}/bin/autoconf) post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so