[127616] trunk/dports/science/libxc

dstrubbe at macports.org dstrubbe at macports.org
Thu Oct 30 13:31:18 PDT 2014


Revision: 127616
          https://trac.macports.org/changeset/127616
Author:   dstrubbe at macports.org
Date:     2014-10-30 13:31:18 -0700 (Thu, 30 Oct 2014)
Log Message:
-----------
libxc: Update to version 2.1.1. Bugfixes in this release fix the issue that was patched, make the pre-build file removal unnecessary, and enable parallel builds. Also, since moving to the compilers portgroup and not putting 'cpp' in the compilers.choose line, 'FCCPP=${configure.cpp}' as set in pre-configure doesn't do anything useful. At least on my machine, that gives /usr/bin/cpp which is rejected by this code's configure script and it finds clang as an appropriate preprocessor for Fortran instead. So, the pre-build block is removed.

Modified Paths:
--------------
    trunk/dports/science/libxc/Portfile

Removed Paths:
-------------
    trunk/dports/science/libxc/files/

Modified: trunk/dports/science/libxc/Portfile
===================================================================
--- trunk/dports/science/libxc/Portfile	2014-10-30 20:30:39 UTC (rev 127615)
+++ trunk/dports/science/libxc/Portfile	2014-10-30 20:31:18 UTC (rev 127616)
@@ -5,7 +5,7 @@
 PortGroup           compilers 1.0
 
 name                libxc
-version             2.1.0
+version             2.1.1
 categories          science
 platforms           darwin
 license             LGPL-3+
@@ -22,8 +22,8 @@
 homepage            http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
 master_sites        http://www.tddft.org/programs/octopus/download/libxc
 
-checksums           rmd160  8797838fc92ae1435cde7d21e2e90cae91726d9c \
-                    sha256  481fcd811d7f5e99ceab2596be09e422a21e9b03437ca607b9c03ffc42050d29
+checksums           rmd160  a75626c89ef661d68abac5113addcbdd32fb2164 \
+                    sha256  99c5435f6cabfa5ad2de55d631451532235b7e32d9505ad4c179b840afd584bf
 
 compilers.choose    fc
 compilers.setup     require_fortran
@@ -32,22 +32,8 @@
     default_variants-append +gcc48
 }
 
-pre-configure {
-    configure.args  FCCPP=${configure.cpp}
-}
+use_parallel_build  yes
 
-pre-build {
-    # This file is automatically generated by 'make' and was unwisely included in
-    # the release; it has line numbers from cpp that are unacceptable to g95.
-    delete ${worksrcpath}/src/libxc.f90
-}
-
-# Fixes linking problem with clang. From libxc commit r11961.
-# Affects libxc version 2.2.0 as well, but will be fixed in any future release.
-patchfiles          patch-src-util.h.diff
-
-use_parallel_build  no
-
 universal_variant   no
 
 test.run            yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141030/38de58e5/attachment.html>


More information about the macports-changes mailing list