<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[122417] trunk/dports/science/htcondor</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/122417">122417</a></dd>
<dt>Author</dt> <dd>aronnax@macports.org</dd>
<dt>Date</dt> <dd>2014-07-22 07:19:39 -0700 (Tue, 22 Jul 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>htcondor: update to 8.2.1</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportssciencehtcondorPortfile">trunk/dports/science/htcondor/Portfile</a></li>
<li><a href="#trunkdportssciencehtcondorfilespatchsrcpythonbindingsCMakeListstxtdiff">trunk/dports/science/htcondor/files/patch-src-python-bindings-CMakeLists.txt.diff</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportssciencehtcondorfilespatchbuildcmakeCondorConfigurecmakediff">trunk/dports/science/htcondor/files/patch-build-cmake-CondorConfigure.cmake.diff</a></li>
<li><a href="#trunkdportssciencehtcondorfilespatchdocmakemanmakemanCdiff">trunk/dports/science/htcondor/files/patch-doc-makeman-makeman.C.diff</a></li>
<li><a href="#trunkdportssciencehtcondorfilespatchsrcclassadutilcppdiff">trunk/dports/science/htcondor/files/patch-src-classad-util.cpp.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportssciencehtcondorPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/science/htcondor/Portfile (122416 => 122417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/htcondor/Portfile        2014-07-22 14:14:33 UTC (rev 122416)
+++ trunk/dports/science/htcondor/Portfile        2014-07-22 14:19:39 UTC (rev 122417)
</span><span class="lines">@@ -7,10 +7,9 @@
</span><span class="cx"> PortGroup               active_variants 1.1
</span><span class="cx"> PortGroup               conflicts_build 1.0
</span><span class="cx"> 
</span><del>-github.setup            htcondor htcondor 8_1_1 V
</del><ins>+github.setup            htcondor htcondor 8_2_1 V
</ins><span class="cx"> version                 [strsed ${github.version} g/_/\./]
</span><span class="cx"> maintainers             aronnax
</span><del>-revision                3
</del><span class="cx"> 
</span><span class="cx"> categories              science parallel net
</span><span class="cx"> license                 apache
</span><span class="lines">@@ -74,8 +73,8 @@
</span><span class="cx">     }]
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-checksums               rmd160  87af615b5a2a5b347f281ddc06e508be94681766 \
-                        sha256  6b299e52368de505e3391d72ef5482550103bc36f7f526da33d52303d8a9233e
</del><ins>+checksums               rmd160  39aa3a05b99bb3ae03f9836f96b3e694664013d9 \
+                        sha256  794d90f672ab19ebf40269dcea3ac299bf6a84a1cf09f46591b1baf4e6bf4a72
</ins><span class="cx"> 
</span><span class="cx"> depends_build-append    port:latex2html
</span><span class="cx"> 
</span><span class="lines">@@ -95,18 +94,6 @@
</span><span class="cx">                         patch-src-python-bindings-CMakeLists.txt.diff \
</span><span class="cx">                         patch-build-cmake-CondorPackageConfig.cmake.diff
</span><span class="cx"> 
</span><del>-# Fix error on Lion:
-# htcondor-8_1_1/src/classad/util.cpp:433:9: error: use of undeclared identifier 'finite'
-patchfiles-append       patch-src-classad-util.cpp.diff
-
-# makeman.C:182:26: error: no member named '_Ios_Fmtflags' in namespace 'std'
-patchfiles-append       patch-doc-makeman-makeman.C.diff
-
-# ar: -lc++: No such file or directory
-if {${os.major} &gt;= 11} {
-    patchfiles-append   patch-build-cmake-CondorConfigure.cmake.diff
-}
-
</del><span class="cx"> post-patch {
</span><span class="cx">     reinplace &quot;s|@prefix@|${prefix}|g&quot; ${worksrcpath}/src/condor_utils/condor_config.cpp
</span><span class="cx">     reinplace &quot;s|g\+\+|${configure.cxx}|g&quot; ${worksrcpath}/doc/makeman/Makefile
</span><span class="lines">@@ -171,8 +158,8 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> # Override default GitHub livecheck because the HTCondor git repository has
</span><del>-# thousands of tags, and GitHub has to paginate the tags.
</del><ins>+# tens of thousands of tags, and GitHub has to paginate the tags.
</ins><span class="cx"> livecheck.type          regexm
</span><span class="cx"> livecheck.url           ${homepage}/downloads/
</span><span class="cx"> livecheck.version       ${version}
</span><del>-livecheck.regex         {Current Developer Release&lt;/td&gt;\s*&lt;td [^&gt;]*&gt;([0-9]+(\.[0-9]+)+)}
</del><ins>+livecheck.regex         {Current Stable Release&lt;/td&gt;\s*&lt;td [^&gt;]*&gt;([0-9]+(\.[0-9]+)+)}
</ins></span></pre></div>
<a id="trunkdportssciencehtcondorfilespatchbuildcmakeCondorConfigurecmakediff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/science/htcondor/files/patch-build-cmake-CondorConfigure.cmake.diff (122416 => 122417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/htcondor/files/patch-build-cmake-CondorConfigure.cmake.diff        2014-07-22 14:14:33 UTC (rev 122416)
+++ trunk/dports/science/htcondor/files/patch-build-cmake-CondorConfigure.cmake.diff        2014-07-22 14:19:39 UTC (rev 122417)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>---- build/cmake/CondorConfigure.cmake.orig        2013-10-27 19:39:00.000000000 -0700
-+++ build/cmake/CondorConfigure.cmake        2013-10-27 19:40:24.000000000 -0700
-@@ -270,15 +270,6 @@
-         check_cxx_compiler_flag(-std=c++11 cxx_11)
-         if (cxx_11)

--                # Clang requires some additional C++11 flags, as the default stdlib
--                # is from an old GCC version.
--                if ( ${OS_NAME} STREQUAL &quot;DARWIN&quot; AND &quot;${CMAKE_CXX_COMPILER_ID}&quot; STREQUAL &quot;Clang&quot; )
--                        set(CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} -stdlib=libc++ -lc++&quot;)
--                        set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} -lc++&quot;)
--                        set(CMAKE_STATIC_LINKER_FLAGS &quot;${CMAKE_STATIC_LINKER_FLAGS} -lc++&quot;)
--                        set(CMAKE_EXE_LINKER_FLAGS &quot;${CMAKE_EXE_LINKER_FLAGS} -lc++&quot;)
--                endif()
--
-                 set(CMAKE_CXX_FLAGS &quot;${CMAKE_CXX_FLAGS} -std=c++11&quot;)

-                 check_cxx_source_compiles(&quot;
-@@ -291,13 +282,6 @@
-                 }
-                 &quot; PREFER_CPP11 )

--                # Note - without adding -lc++ to the CXX flags, the linking of the test
--                # above will fail for clang.  It doesn't seem strictly necessary though,
--                # so we remove this afterward.
--                if ( ${OS_NAME} STREQUAL &quot;DARWIN&quot; AND &quot;${CMAKE_CXX_COMPILER_ID}&quot; STREQUAL &quot;Clang&quot; )
--                        string(REPLACE &quot;-lc++&quot; &quot;&quot; CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
--                endif()
--
-         endif (cxx_11)

-         if (NOT PREFER_CPP11)
</del></span></pre></div>
<a id="trunkdportssciencehtcondorfilespatchdocmakemanmakemanCdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/science/htcondor/files/patch-doc-makeman-makeman.C.diff (122416 => 122417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/htcondor/files/patch-doc-makeman-makeman.C.diff        2014-07-22 14:14:33 UTC (rev 122416)
+++ trunk/dports/science/htcondor/files/patch-doc-makeman-makeman.C.diff        2014-07-22 14:19:39 UTC (rev 122417)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>---- doc/makeman/makeman.C.orig        2013-10-27 19:53:22.000000000 -0700
-+++ doc/makeman/makeman.C        2013-10-27 19:53:53.000000000 -0700
-@@ -179,7 +179,7 @@
- #if (__GNUC__&lt;3) 
-                 input_file.flags(0);
- #else
--                input_file.flags((std::_Ios_Fmtflags)0);
-+                input_file.flags((std::ios_base::fmtflags)0);
- #endif
-                 process_file(input_file, output_file, parameters);
-         }
</del></span></pre></div>
<a id="trunkdportssciencehtcondorfilespatchsrcclassadutilcppdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/science/htcondor/files/patch-src-classad-util.cpp.diff (122416 => 122417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/htcondor/files/patch-src-classad-util.cpp.diff        2014-07-22 14:14:33 UTC (rev 122416)
+++ trunk/dports/science/htcondor/files/patch-src-classad-util.cpp.diff        2014-07-22 14:19:39 UTC (rev 122417)
</span><span class="lines">@@ -1,97 +0,0 @@
</span><del>---- src/classad/util.cpp.orig        2013-10-27 21:00:59.000000000 -0700
-+++ src/classad/util.cpp        2013-10-27 21:01:02.000000000 -0700
-@@ -24,36 +24,10 @@
- #include &quot;classad/util.h&quot;
- #include &lt;limits.h&gt;
- #include &lt;math.h&gt;
-+#include &lt;boost/math/special_functions/fpclassify.hpp&gt;

- using namespace std;

--// The following definitions of isnan() and isinf() are recommended here:
--// http://www.gnu.org/software/libtool/manual/autoconf/Function-Portability.html
--// We have observed isinf(HUGE_VAL) to return 0 on HPUX, but only apparently
--// because of an errant #pragma extern applied to this constant in the system
--// header files.  When passed a normal variable assigned to HUGE_VAL, isinf()
--// does the right thing on that platform.
--
--#ifndef isnan
--# define isnan(x) \
--    (sizeof (x) == sizeof (long double) ? isnan_ld (x) \
--     : sizeof (x) == sizeof (double) ? isnan_d (x) \
--     : isnan_f (x))
--static inline int isnan_f  (float       x) { return x != x; }
--static inline int isnan_d  (double      x) { return x != x; }
--static inline int isnan_ld (long double x) { return x != x; }
--#endif
--          
--#ifndef isinf
--# define isinf(x) \
--    (sizeof (x) == sizeof (long double) ? isinf_ld (x) \
--     : sizeof (x) == sizeof (double) ? isinf_d (x) \
--     : isinf_f (x))
--static inline int isinf_f  (float       x) { return isnan (x - x); }
--static inline int isinf_d  (double      x) { return isnan (x - x); }
--static inline int isinf_ld (long double x) { return isnan (x - x); }
--#endif
--
- namespace classad {

- #ifdef WIN32
-@@ -406,42 +380,9 @@
-     return leap_year;
- }

--#ifdef WIN32
--int classad_isinf(double x) 
--{
--
--        int result;
--        result = _fpclass(x);
--
--        if (result == _FPCLASS_NINF ) {
--                /* negative infinity */
--                return -1;
--        } else if ( result == _FPCLASS_PINF ) {
--                /* positive infinity */
--                return 1;
--        } else {
--                /* otherwise */
--                return 0;
--        }
--}
--#elif (defined (__SVR4) &amp;&amp; defined (__sun)) || defined(__APPLE_CC__)
--#ifndef __APPLE_CC__
--#include &lt;ieeefp.h&gt;
--#endif
--int classad_isinf(double x) 
--{ 
--    if (finite(x) || x != x) {
--        return 0;
--    } else if (x &gt; 0) {
--        return 1;
--    } else {
--        return -1;
--    }
--}
--#else
- int classad_isinf(double x)
- {
--    if (!isinf(x) || x != x) {
-+    if (boost::math::isfinite(x) || boost::math::isnan(x)) {
-         return 0;
-     } else if (x &gt; 0) {
-         return 1;
-@@ -449,11 +390,10 @@
-         return -1;
-     }
- }
--#endif 

- int classad_isnan(double x)
- {
--    return isnan(x);
-+    return boost::math::isnan(x);
- }

- } // classad
</del></span></pre></div>
<a id="trunkdportssciencehtcondorfilespatchsrcpythonbindingsCMakeListstxtdiff"></a>
<div class="modfile"><h4>Modified: trunk/dports/science/htcondor/files/patch-src-python-bindings-CMakeLists.txt.diff (122416 => 122417)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/htcondor/files/patch-src-python-bindings-CMakeLists.txt.diff        2014-07-22 14:14:33 UTC (rev 122416)
+++ trunk/dports/science/htcondor/files/patch-src-python-bindings-CMakeLists.txt.diff        2014-07-22 14:19:39 UTC (rev 122417)
</span><span class="lines">@@ -1,25 +1,14 @@
</span><del>---- src/python-bindings/CMakeLists.txt.orig        2013-10-27 19:34:11.000000000 -0700
-+++ src/python-bindings/CMakeLists.txt        2013-10-27 19:34:42.000000000 -0700
-@@ -21,19 +21,19 @@
-     message(FATAL_ERROR &quot;Can't determine HTCondor version!&quot;)
</del><ins>+--- src/python-bindings/CMakeLists.txt.orig        2014-07-17 11:44:13.000000000 -0700
++++ src/python-bindings/CMakeLists.txt        2014-07-17 11:44:25.000000000 -0700
+@@ -11,9 +11,9 @@
+   set ( CMAKE_LIBRARY_PATH CMAKE_LIBRARY_PATH_ORIG)

+   if (PROPER AND &quot;${PYTHON_VERSION_MAJOR}&quot; MATCHES &quot;3&quot;)
+-    set ( PYTHON_BOOST_LIB boost_python3 )
++    set ( PYTHON_BOOST_LIB boost_python3-mt )
+   else()
+-    set ( PYTHON_BOOST_LIB boost_python )
++    set ( PYTHON_BOOST_LIB boost_python-mt )
</ins><span class="cx">    endif()
</span><del>-   condor_shared_lib( pyclassad classad.cpp classad_wrapper.h exprtree_wrapper.h )
--  target_link_libraries( pyclassad ${CLASSADS_FOUND} ${PYTHON_LIBRARIES} -lboost_python )
-+  target_link_libraries( pyclassad ${CLASSADS_FOUND} ${PYTHON_LIBRARIES} -lboost_python-mt )
-   set_target_properties( pyclassad PROPERTIES OUTPUT_NAME &quot;${PYCLASSAD_LIB_NAME}&quot; )
-   set_target_properties( pyclassad PROPERTIES COMPILE_FLAGS &quot;-fPIC&quot;)
</del><span class="cx">  
</span><del>-   # Note we do not use condor_shared_lib below because we want a separate install target.
-   add_library( classad_module SHARED classad_module.cpp )
--  target_link_libraries( classad_module pyclassad -lboost_python ${PYTHON_LIBRARIES} )
-+  target_link_libraries( classad_module pyclassad -lboost_python-mt ${PYTHON_LIBRARIES} )
-   set_target_properties(classad_module PROPERTIES PREFIX &quot;&quot; OUTPUT_NAME classad )
-   set_target_properties(classad_module PROPERTIES SUFFIX &quot;.so&quot; )

-   set_source_files_properties(config.cpp collector.cpp secman.cpp dc_tool.cpp schedd.cpp classad.cpp classad_module.cpp PROPERTIES COMPILE_FLAGS &quot;-Wno-strict-aliasing -Wno-cast-qual -Wno-deprecated&quot;)
-   add_library( htcondor SHARED htcondor.cpp collector.cpp config.cpp daemon_and_ad_types.cpp dc_tool.cpp export_headers.h old_boost.h schedd.cpp secman.cpp )
--  target_link_libraries( htcondor pyclassad condor_utils -lboost_python ${PYTHON_LIBRARIES} )
-+  target_link_libraries( htcondor pyclassad condor_utils -lboost_python-mt ${PYTHON_LIBRARIES} )
-   set_target_properties( htcondor PROPERTIES PREFIX &quot;&quot; )
-   set_target_properties( htcondor PROPERTIES SUFFIX &quot;.so&quot; )

</del><ins>+   include_directories(${PYTHON_INCLUDE_DIRS} ${BOOST_INCLUDE})
</ins></span></pre>
</div>
</div>

</body>
</html>