<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5655f63a8c19f3218918cecc5095d93be1003396">https://github.com/macports/macports-ports/commit/5655f63a8c19f3218918cecc5095d93be1003396</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 5655f63 ADOL-C: new port
</span>5655f63 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5655f63a8c19f3218918cecc5095d93be1003396
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Jul 30 20:29:25 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> ADOL-C: new port
</span>---
math/ADOL-C/Portfile | 37 +++++++++++++++++++++++++++++
math/ADOL-C/files/patch-adolclib.pc.in.diff | 9 +++++++
math/ADOL-C/files/patch-configure.diff | 33 +++++++++++++++++++++++++
3 files changed, 79 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/ADOL-C/Portfile b/math/ADOL-C/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1009f9e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/ADOL-C/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,37 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name ADOL-C
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.6.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories math science
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {EPL-1 GPL-2}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://projects.coin-or.org/ADOL-C/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://www.coin-or.org/download/source/ADOL-C/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.suffix .tgz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Algorithmic Differentiation Library for C/C++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description The package ADOL-C (Automatic Differentiation by OverLoading in C++) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ facilitates the evaluation of first and higher derivatives of vector functions \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ that are defined by computer programs written in C or C++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 57f63e0ca11305c87d29cbf0f52613224f65c9f1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6ed74580695a0d2c960581e5430ebfcd380eb5da9337daf488bf2e89039e9c21 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2416928
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-configure.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-adolclib.pc.in.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:boost \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ColPack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boost=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-colpack=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-sparse \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-atrig-erf
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/ADOL-C/files/patch-adolclib.pc.in.diff b/math/ADOL-C/files/patch-adolclib.pc.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..119b10f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/ADOL-C/files/patch-adolclib.pc.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- adolclib.pc.in.orig 2014-02-20 09:17:12.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ adolclib.pc.in 2018-06-18 04:34:54.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,5 +7,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Version: @PACKAGE_VERSION@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Description: Algorithmic Differentiation Library for C/C++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Requires:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-Libs: -L${libdir} -l@adolclib@ -Wl,-rpath,${libdir} @LDFLAGS@ @LIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Libs: -L${libdir} -l@adolclib@ @LIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Cflags: -I${includedir}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/ADOL-C/files/patch-configure.diff b/math/ADOL-C/files/patch-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f0c1667
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/ADOL-C/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,33 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2017-01-17 01:27:18.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2018-06-18 04:42:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -16507,7 +16507,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$ac_cv_sizeof_void_p" = "x8" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _lib=lib64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ _lib=lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lib=lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18086,7 +18086,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for ((i=0; i < ${#D[@]} ; i++)); do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COLPACK_LIBDIR="${D[$i]}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -n "$COLPACK_LIBDIR" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-COLPACK_LIBS="-L$COLPACK_LIBDIR -lColPack -Wl,-rpath,$COLPACK_LIBDIR"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++COLPACK_LIBS="-L$COLPACK_LIBDIR -lColPack"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test x$have_colpackheaders = xyes ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS="$COLPACK_LIBS $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18391,10 +18391,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ as_fn_error $? "if --with-ampi is set one must also --enable-ampi" "$LINENO" 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPPFLAGS="$CPPFLAGS -I$with_ampi/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDFLAGS="$LDFLAGS -L$with_ampi/lib -Wl,-rpath,$with_ampi/lib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LDFLAGS="$LDFLAGS -L$with_ampi/lib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test x"$_lib" != "xlib" ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDFLAGS="$LDFLAGS -L$with_ampi/${_lib} -Wl,-rpath,$with_ampi/${_lib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LDFLAGS="$LDFLAGS -L$with_ampi/${_lib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>