[110526] trunk/dports/science/healpix
aronnax at macports.org
aronnax at macports.org
Sun Sep 1 09:03:40 PDT 2013
Revision: 110526
https://trac.macports.org/changeset/110526
Author: aronnax at macports.org
Date: 2013-09-01 09:03:40 -0700 (Sun, 01 Sep 2013)
Log Message:
-----------
healpix-cxx: fix Autotools compatibility issue, make -openmp variant work
Modified Paths:
--------------
trunk/dports/science/healpix/Portfile
Added Paths:
-----------
trunk/dports/science/healpix/files/patch-configure.ac.diff
Modified: trunk/dports/science/healpix/Portfile
===================================================================
--- trunk/dports/science/healpix/Portfile 2013-09-01 06:59:40 UTC (rev 110525)
+++ trunk/dports/science/healpix/Portfile 2013-09-01 16:03:40 UTC (rev 110526)
@@ -67,26 +67,31 @@
}
subport ${name}-cxx {
+ revision 1
description C++ language implementation of HEALPix
long_description ${long_description} This is the ${description}.
worksrcdir Healpix_${base_version}/src/cxx/autotools
+ # FIXME: Patch fixed upstream, but not in a release yet
+ patchfiles patch-configure.ac.diff
+
depends_build port:pkgconfig
depends_lib port:cfitsio
use_autoreconf yes
+ configure.args-append \
+ --disable-openmp
+
default_variants +openmp
variant openmp description "enable OpenMP parallel acceleration" {
+ configure.args-delete \
+ --disable-openmp
+
# http://www.llvm.org/devmtg/2013-04/#talk2
compiler.blacklist *clang*
-
- # healpix automatically uses openmp if it detects support. There is
- # currently no configure option for it, so selecting the -openmp variant
- # might not get the user what they want if they're on older OS versions
- # that don't use clang by default.
}
}
Added: trunk/dports/science/healpix/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/science/healpix/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/science/healpix/files/patch-configure.ac.diff 2013-09-01 16:03:40 UTC (rev 110526)
@@ -0,0 +1,9 @@
+--- configure.ac.orig 2013-09-01 08:54:22.000000000 -0700
++++ configure.ac 2013-09-01 08:54:37.000000000 -0700
+@@ -1,5 +1,5 @@
+ AC_INIT([healpix_cxx], [3.10])
+-AM_INIT_AUTOMAKE([foreign -Wall -Werror])
++AM_INIT_AUTOMAKE([foreign subdir-objects -Wall -Werror])
+
+ dnl
+ dnl Needed for linking on Windows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130901/0561a6c3/attachment.html>
More information about the macports-changes
mailing list