[89821] trunk/dports/devel/libACE

pixilla at macports.org pixilla at macports.org
Sat Feb 11 08:17:39 PST 2012


Revision: 89821
          http://trac.macports.org/changeset/89821
Author:   pixilla at macports.org
Date:     2012-02-11 08:17:38 -0800 (Sat, 11 Feb 2012)
Log Message:
-----------
devel/libACE:
- Update to version 6.0.8.

Modified Paths:
--------------
    trunk/dports/devel/libACE/Portfile

Added Paths:
-----------
    trunk/dports/devel/libACE/files/patch-ace-config.h.diff
    trunk/dports/devel/libACE/files/patch-include-makeinclude-platform_macros.GNU.diff

Removed Paths:
-------------
    trunk/dports/devel/libACE/files/patch-ace-CDR_Base.inl.diff

Modified: trunk/dports/devel/libACE/Portfile
===================================================================
--- trunk/dports/devel/libACE/Portfile	2012-02-11 15:56:09 UTC (rev 89820)
+++ trunk/dports/devel/libACE/Portfile	2012-02-11 16:17:38 UTC (rev 89821)
@@ -6,11 +6,12 @@
 
 name                libACE
 set name_package    ACE
-version             6.0.3
+version             6.0.8
 distname            ${name_package}-${version}
 categories          devel
-maintainers         gmail.com:enrique.fernandez.perdomo pixilla
+maintainers         pixilla openmaintainer
 platforms           darwin
+license             BSD
 description         ACE is an object-oriented framework that implements many core patterns for \
                     concurrent communication software.
 long_description    The ADAPTIVE Communication Environment (ACE) is a freely available, \
@@ -24,25 +25,55 @@
                     message routing, dynamic (re)configuration of distributed services, \
                     concurrent execution and synchronization.
 
+conflicts           libTAO
+
 homepage            http://www.cs.wustl.edu/~schmidt/ACE.html
 master_sites        http://download.dre.vanderbilt.edu/previous_versions
 
-checksums           sha1    a213b4b49817586806dc49b6878685d635e62bce \
-                    rmd160  f7873fdd058109f87003c7756069d52cf0d31543
+use_bzip2           yes
 
+checksums           rmd160  31ebccd204aeeb1b1c5bb76c4cb9ae55bb4ca8e3 \
+                    sha256  2f7bae738b62f0162965fecb0f49b7fdf61de987c1d08d238b328e1d0d1ab683
+
 worksrcdir          ACE_wrappers
 
-patchfiles          patch-ace-CDR_Base.inl.diff
+patch.pre_args      -p1
+patchfiles          patch-ace-config.h.diff \
+                    patch-include-makeinclude-platform_macros.GNU.diff
 
-configure.env-append "DYLD_LIBRARY_PATH=${worksrcpath}/lib:\${DYLD_LIBRARY_PATH}"
-configure.dir       ${worksrcpath}/build
-configure.cmd       ../configure
-configure.args      --disable-ssl
-pre-configure {
-    xinstall -d ${worksrcpath}/build
+use_configure       no
+use_parallel_build  no
+
+set os.name {}
+array set os.names {
+     7  panther
+     8  tiger
+     9  leopard
+    10  snowleopard
+    11  lion
 }
-build.dir           ${worksrcpath}/build
-build.env-append    "DYLD_LIBRARY_PATH=${worksrcpath}/lib:\${DYLD_LIBRARY_PATH}"
+if {"darwin" == ${os.platform}} {
+    foreach {key value} [array get os.names]  {
+        if {${key} == ${os.major}} {
+            set os.name ${value}
+        }
+    }
+}
 
+post-patch {
+    reinplace "s|@MACOSX_NAME@|${os.name}|g" \
+        ${worksrcpath}/ace/config.h \
+}
+
+build.env-append    DYLD_LIBRARY_PATH=${worksrcpath}/lib \
+                    ACE_ROOT=${worksrcpath} \
+                    INSTALL_PREFIX=${prefix} \
+                    MACOSX_NAME=${os.name}
+
+destroot.env-append DYLD_LIBRARY_PATH=${worksrcpath}/lib \
+                    ACE_ROOT=${worksrcpath} \
+                    INSTALL_PREFIX=${prefix} \
+                    MACOSX_NAME=${os.name}
+
 livecheck.url       ${master_sites}
 livecheck.regex     ${name_package}-(\\d+\[0-9a-z.\]*)${extract.suffix}

Deleted: trunk/dports/devel/libACE/files/patch-ace-CDR_Base.inl.diff
===================================================================
--- trunk/dports/devel/libACE/files/patch-ace-CDR_Base.inl.diff	2012-02-11 15:56:09 UTC (rev 89820)
+++ trunk/dports/devel/libACE/files/patch-ace-CDR_Base.inl.diff	2012-02-11 16:17:38 UTC (rev 89821)
@@ -1,17 +0,0 @@
---- ace/CDR_Base.inl.orig	2011-06-03 21:31:31.000000000 -0700
-+++ ace/CDR_Base.inl	2011-06-03 21:30:57.000000000 -0700
-@@ -174,10 +174,10 @@
-   // 64 bit architecture.
-   register unsigned long x =
-     * reinterpret_cast<const unsigned long*> (orig);
--  register unsigned long x84 = (x & 0x000000ff000000ffUL) << 24;
--  register unsigned long x73 = (x & 0x0000ff000000ff00UL) << 8;
--  register unsigned long x62 = (x & 0x00ff000000ff0000UL) >> 8;
--  register unsigned long x51 = (x & 0xff000000ff000000UL) >> 24;
-+  register unsigned long x84 = (x & 0x000000ff000000ffLLU) << 24;
-+  register unsigned long x73 = (x & 0x0000ff000000ff00LLU) << 8;
-+  register unsigned long x62 = (x & 0x00ff000000ff0000LLU) >> 8;
-+  register unsigned long x51 = (x & 0xff000000ff000000LLU) >> 24;
-   x = (x84 | x73 | x62 | x51);
-   x = (x << 32) | (x >> 32);
-   *reinterpret_cast<unsigned long*> (target) = x;

Added: trunk/dports/devel/libACE/files/patch-ace-config.h.diff
===================================================================
--- trunk/dports/devel/libACE/files/patch-ace-config.h.diff	                        (rev 0)
+++ trunk/dports/devel/libACE/files/patch-ace-config.h.diff	2012-02-11 16:17:38 UTC (rev 89821)
@@ -0,0 +1,6 @@
+--- a/ace/config.h	1969-12-31 16:00:00.000000000 -0800
++++ b/ace/config.h	2012-02-10 22:40:46.000000000 -0800
+@@ -0,0 +1,3 @@
++#define ACE_LACKS_UCONTEXT_H
++
++#include "ace/config-macosx- at MACOSX_NAME@.h"

Added: trunk/dports/devel/libACE/files/patch-include-makeinclude-platform_macros.GNU.diff
===================================================================
--- trunk/dports/devel/libACE/files/patch-include-makeinclude-platform_macros.GNU.diff	                        (rev 0)
+++ trunk/dports/devel/libACE/files/patch-include-makeinclude-platform_macros.GNU.diff	2012-02-11 16:17:38 UTC (rev 89821)
@@ -0,0 +1,12 @@
+--- a/include/makeinclude/platform_macros.GNU	1969-12-31 16:00:00.000000000 -0800
++++ b/include/makeinclude/platform_macros.GNU	2012-02-10 22:40:48.000000000 -0800
+@@ -0,0 +1,9 @@
++buildbits=64
++install_rpath=0
++
++LDFLAGS+= -Wl,-rpath,$(INSTALL_PREFIX)/$(INSTALL_LIB)
++
++SOFLAGS+= -Wl,-install_name,\@rpath/$@
++
++include $(ACE_ROOT)/include/makeinclude/platform_macosx_$(MACOSX_NAME).GNU
++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120211/16cfca4b/attachment.html>


More information about the macports-changes mailing list