[97148] trunk/dports/lang

takeshi at macports.org takeshi at macports.org
Tue Aug 28 00:57:44 PDT 2012


Revision: 97148
          https://trac.macports.org/changeset/97148
Author:   takeshi at macports.org
Date:     2012-08-28 00:57:43 -0700 (Tue, 28 Aug 2012)
Log Message:
-----------
dmd, druntime, phobos: applied patch provided by ryandesign in #35862 (revamped for v2.060 and better use of portgroup

Modified Paths:
--------------
    trunk/dports/lang/dmd/Portfile
    trunk/dports/lang/druntime/Portfile
    trunk/dports/lang/phobos/Portfile

Modified: trunk/dports/lang/dmd/Portfile
===================================================================
--- trunk/dports/lang/dmd/Portfile	2012-08-28 07:41:32 UTC (rev 97147)
+++ trunk/dports/lang/dmd/Portfile	2012-08-28 07:57:43 UTC (rev 97148)
@@ -4,8 +4,8 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-set dlang           D-Programming-Language
-github.setup        ${dlang} dmd 2.060 v
+github.setup        D-Programming-Language dmd 2.060 v
+revision            1
 categories          lang
 platforms           darwin
 supported_archs     i386 x86_64
@@ -17,13 +17,10 @@
     It pragmatically combines efficiency, control, \
     and modeling power, with safety and programmer productivity.
 homepage            http://dlang.org/
-set dbranch         e8fe11c
-distname            ${dlang}-${name}-v${version}-0-g${dbranch}
 checksums           rmd160  80eaa1e9b56c1873f3fedc06f4d4218ce9a327fe \
                     sha256  f1bad058aefda510f4d799767444df89af2a09bbe87e2fed2bcac967f959cb00
 
-worksrcdir          ${name}
-
+patchfiles          patch-src-root-port.c.diff
 post-patch {
     reinplace "s|gcc|${configure.cc}|" ${worksrcpath}/src/posix.mak
     reinplace "s|gcc|${configure.cc}|" ${worksrcpath}/src/link.c

Modified: trunk/dports/lang/druntime/Portfile
===================================================================
--- trunk/dports/lang/druntime/Portfile	2012-08-28 07:41:32 UTC (rev 97147)
+++ trunk/dports/lang/druntime/Portfile	2012-08-28 07:57:43 UTC (rev 97148)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-set dlang           D-Programming-Language
-github.setup        ${dlang} druntime 2.059 v
+github.setup        D-Programming-Language druntime 2.060 v
 categories          lang
 platforms           darwin
 license             Boost-1
@@ -17,21 +16,12 @@
     collector, associative arrays, exception handling, array vector operations, \
     startup/shutdown, etc.
 homepage            http://dlang.org/
-set dbranch         3987c7
-distname            ${dlang}-${name}-v${version}-0-g${dbranch}
-checksums           rmd160  8754f330b0583060d65c2e37c8d931252132f50d \
-                    sha256  055d6559edf98a1478a819897150d15cd691843dbca78cdd4d80082cc939100d \
 
-worksrcdir          ${name}
+checksums           rmd160  8ef088b1b7d5c3151962d01bf0005bb8e3b2db4a \
+                    sha256  e66c2908e9415e8ef882f63bfe525b8e1e88331e0ba16fc4b18e23c4d176cc95 \
 
 depends_lib         port:dmd
 
-post-patch {
-    if {${configure.compiler}=="clang"} {
-        reinplace "s|-Wa,-noexecstack||" ${worksrcpath}/posix.mak
-    }
-}
-
 use_configure       no
 
 if {${build_arch}=="x86_64"} {
@@ -45,7 +35,7 @@
                     DMD=${prefix}/bin/dmd \
                     MODEL=${model} \
                     CFLAGS=\"${configure.cflags}\"
-build.target        ""
+build.target
 
 destroot {
     xinstall -m 644 ${worksrcpath}/lib/libdruntime-osx${model}.a \

Modified: trunk/dports/lang/phobos/Portfile
===================================================================
--- trunk/dports/lang/phobos/Portfile	2012-08-28 07:41:32 UTC (rev 97147)
+++ trunk/dports/lang/phobos/Portfile	2012-08-28 07:57:43 UTC (rev 97148)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-set dlang           D-Programming-Language
-github.setup        ${dlang} phobos 2.059 v
+github.setup        D-Programming-Language phobos 2.060 v
 categories          lang
 platforms           darwin
 license             Boost-1
@@ -14,16 +13,13 @@
 long_description \
     Phobos is the standard runtime library that comes with the D language compiler.
 homepage            http://dlang.org/
-set dbranch         d862f1
-distname            ${dlang}-${name}-v${version}-0-g${dbranch}
-checksums           rmd160  9acbe4960c57ce6ba78d9594bb5451d6c7877da4 \
-                    sha256  5571e610bd306540cc6e9574bde0479889c62c9d2d3eed742bd3a5362c1ac03c
-depends_lib         port:druntime
 
-worksrcdir          ${name}
+checksums           rmd160  8cd11c9fe523fa41eb8b1c644b18a18750ef81d1 \
+                    sha256  cc1909b4dcbea0b5536d2f3eeb975a3b314e67609d2215c5426d65e64b19360b
 
+depends_lib         port:druntime
+
 post-patch {
-    reinplace "s|gcc|${configure.cc}|" ${worksrcpath}/posix.mak
     reinplace "s|-m\$(MODEL)||" ${worksrcpath}/posix.mak
     reinplace "s|/import||" ${worksrcpath}/posix.mak
 }
@@ -44,7 +40,7 @@
                     DMD=${prefix}/bin/dmd \
                     MODEL=${model} \
                     BUILD=release
-build.target-delete ${build.target}
+build.target
 
 destroot {
     xinstall -m 755 -d ${destroot}${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120828/275fe9da/attachment.html>


More information about the macports-changes mailing list