[122686] trunk/dports/net/rabbitmq-c

ryandesign at macports.org ryandesign at macports.org
Sat Jul 26 11:45:36 PDT 2014


Revision: 122686
          https://trac.macports.org/changeset/122686
Author:   ryandesign at macports.org
Date:     2014-07-26 11:45:36 -0700 (Sat, 26 Jul 2014)
Log Message:
-----------
rabbitmq-c: improve detection of htonll

Modified Paths:
--------------
    trunk/dports/net/rabbitmq-c/Portfile

Added Paths:
-----------
    trunk/dports/net/rabbitmq-c/files/
    trunk/dports/net/rabbitmq-c/files/patch-CMakeLists.txt.diff

Modified: trunk/dports/net/rabbitmq-c/Portfile
===================================================================
--- trunk/dports/net/rabbitmq-c/Portfile	2014-07-26 18:28:07 UTC (rev 122685)
+++ trunk/dports/net/rabbitmq-c/Portfile	2014-07-26 18:45:36 UTC (rev 122686)
@@ -25,6 +25,8 @@
 depends_lib         port:openssl \
                     port:popt
 
+patchfiles          patch-CMakeLists.txt.diff
+
 configure.args-append \
                     -DBUILD_TOOLS:BOOL=ON \
                     -DBUILD_TOOLS_DOCS:BOOL=ON

Added: trunk/dports/net/rabbitmq-c/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/net/rabbitmq-c/files/patch-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/net/rabbitmq-c/files/patch-CMakeLists.txt.diff	2014-07-26 18:45:36 UTC (rev 122686)
@@ -0,0 +1,13 @@
+https://github.com/alanxz/rabbitmq-c/issues/200
+https://github.com/alanxz/rabbitmq-c/commit/c7716b8bb9080bdec51dcbd571d16eeaeea5e5b6
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -103,7 +103,7 @@ set(CMAKE_REQUIRED_LIBRARIES ${SOCKET_LIBRARIES})
+ if (WIN32)
+   check_symbol_exists(htonll Winsock2.h HAVE_HTONLL)
+ else (WIN32)
+-  check_function_exists(htonll HAVE_HTONLL)
++  check_symbol_exists(htonll arpa/inet.h HAVE_HTONLL)
+ endif (WIN32)
+ cmake_pop_check_state()
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140726/fc28869b/attachment.html>


More information about the macports-changes mailing list