Date: Sun, 14 Jan 2018 17:47:12 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458985 - in head/science/libint: . files Message-ID: <201801141747.w0EHlCOw065463@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801141747.w0EHlCOw065463>