[134530] trunk/dports/lang
takeshi at macports.org
takeshi at macports.org
Sat Mar 28 19:39:53 PDT 2015
Revision: 134530
https://trac.macports.org/changeset/134530
Author: takeshi at macports.org
Date: 2015-03-28 19:39:53 -0700 (Sat, 28 Mar 2015)
Log Message:
-----------
dmd, druntime, phobos, dmd-doc, dmd-tools: update to v2.067.0
Modified Paths:
--------------
trunk/dports/lang/dmd/Portfile
trunk/dports/lang/dmd-doc/Portfile
trunk/dports/lang/dmd-tools/Portfile
trunk/dports/lang/druntime/Portfile
trunk/dports/lang/phobos/Portfile
trunk/dports/lang/phobos/files/patch-gzlib.c.diff
Added Paths:
-----------
trunk/dports/lang/dmd-tools/files/
trunk/dports/lang/dmd-tools/files/patch-posix.mak.diff
Removed Paths:
-------------
trunk/dports/lang/phobos/files/patch-posix.mak.diff
Modified: trunk/dports/lang/dmd/Portfile
===================================================================
--- trunk/dports/lang/dmd/Portfile 2015-03-29 01:34:42 UTC (rev 134529)
+++ trunk/dports/lang/dmd/Portfile 2015-03-29 02:39:53 UTC (rev 134530)
@@ -4,7 +4,7 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup D-Programming-Language dmd 2.066.1 v
+github.setup D-Programming-Language dmd 2.067.0 v
categories lang
platforms darwin
supported_archs i386 x86_64
@@ -16,8 +16,8 @@
It pragmatically combines efficiency, control, \
and modeling power, with safety and programmer productivity.
homepage http://dlang.org/
-checksums rmd160 ba46c59906d4d5215303c6f02582576281bfdf58 \
- sha256 496fb39bb50f9a95c98aed87dc77a1fd7049807ff047e2920d5c8e075191abea
+checksums rmd160 d374210589fd0a8882a9b5beb6829e7a93923b2f \
+ sha256 d7c530f5e06768538d4adfe829ee88d0866636e035e6c43928c5f5c91ce0d5d4
post-patch {
reinplace "s|gcc|${configure.cc}|" ${worksrcpath}/src/link.c
reinplace "s|/etc|${prefix}/etc/${name}|" ${worksrcpath}/src/posix.mak
@@ -59,7 +59,7 @@
xinstall -d -m 755 ${destroot}${prefix}/etc/${name}
set conf [open ${destroot}${prefix}/etc/${name}/${name}.conf w]
puts $conf "\[Environment\]
-DFLAGS=-I${prefix}/include/druntime -I${prefix}/include/phobos -L-L${prefix}/lib"
+DFLAGS=-I${prefix}/include/druntime/import -I${prefix}/include/phobos -L-L${prefix}/lib"
close $conf
}
Modified: trunk/dports/lang/dmd-doc/Portfile
===================================================================
--- trunk/dports/lang/dmd-doc/Portfile 2015-03-29 01:34:42 UTC (rev 134529)
+++ trunk/dports/lang/dmd-doc/Portfile 2015-03-29 02:39:53 UTC (rev 134530)
@@ -4,7 +4,7 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup D-Programming-Language dlang.org 2.066.1 v
+github.setup D-Programming-Language dlang.org 2.067.0 v
name dmd-doc
categories lang
platforms darwin
@@ -20,8 +20,8 @@
This port provides the html files required to build the dman command of \
the D programming language compiler.
homepage http://dlang.org/
-checksums rmd160 1717e5541e534c4eb9bc805e40032c2fa0d118a0 \
- sha256 849756e74b7b2351930907deedb4cbb34dd3008fc72fc51c72c6aeddc7f3e577
+checksums rmd160 cddcf5c2ebe5d86a5446867c58c4d218112cb54e \
+ sha256 4f2da7b07b822e57ee9ac240605ace69db37f03dc96e515f0169de211a161c97
depends_lib port:phobos
Modified: trunk/dports/lang/dmd-tools/Portfile
===================================================================
--- trunk/dports/lang/dmd-tools/Portfile 2015-03-29 01:34:42 UTC (rev 134529)
+++ trunk/dports/lang/dmd-tools/Portfile 2015-03-29 02:39:53 UTC (rev 134530)
@@ -4,7 +4,7 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup D-Programming-Language tools 2.066.1 v
+github.setup D-Programming-Language tools 2.067.0 v
name dmd-${github.project}
categories lang
platforms darwin
@@ -17,47 +17,33 @@
and modeling power, with safety and programmer productivity. \
This port provides the ancilliary tools for the D programming language compiler.
homepage http://dlang.org/
-checksums rmd160 4e895d2821ae551fca2bb2bc50f14909a949f117 \
- sha256 3be30bc6d0e75abfcc6531806065ee26c042b44ed547d5aebc3b1745868c959b
+checksums rmd160 ffa4d52ece9c820cb7d65af4c73eda42f10e3c22 \
+ sha256 cc5ab1226ca1e63761fc3215d63e526a831c0a94c4d83d94b0195c6b548459f1
depends_lib port:phobos \
lib:libcurl:curl
depends_build port:dmd-doc
+patchfiles patch-posix.mak.diff
+
use_configure no
-set bin "catdoc ddemangle detab dtoh findtags rdmd tolf"
-set dmd ${prefix}/bin/dmd
-
if {${build_arch} eq "x86_64"} {
set model 64
} else {
set model 32
}
-set dflags "-m${model} -O -d"
-build {
- system -W ${worksrcpath} "
- for f in ${bin}; do
- ${dmd} ${dflags} \$f.d
- done
- "
- foreach f [glob ${prefix}/share/doc/dmd/*.html] {
- set tag [file rootname [file tail ${f}]].tag
- system -W ${worksrcpath} "
- ./findtags ${f} > ${tag}
- "
- }
- system -W ${worksrcpath} "${dmd} ${dflags} -J. dman.d"
- foreach f {dget changed} {
- system -W ${worksrcpath} "
- ${dmd} ${dflags} -of${f} ${f}.d -L-lcurl
- "
- }
- system -W ${worksrcpath}/DustMite "${dmd} ${dflags} dustmite.d splitter.d -ofdustmite"
-}
+build.args -f posix.mak \
+ DRUNTIME=${prefix}/lib/libdruntime.a \
+ DRUNTIME_PATH=${prefix}/include/druntime \
+ DMD=${prefix}/bin/dmd \
+ DFLAGS="-w -d -m${model} -O -release" \
+ MODEL=${model}
+build.target ""
-destroot {
- eval xinstall -W ${worksrcpath} -m 755 "${bin} dman dget changed DustMite/dustmite" ${destroot}${prefix}/bin
+destroot.args -f posix.mak \
+ DINSTALL_DIR=${destroot}${prefix}
+post-destroot {
xinstall -W ${worksrcpath} -m 644 man/man1/rdmd.1 ${destroot}${prefix}/share/man/man1
}
Added: trunk/dports/lang/dmd-tools/files/patch-posix.mak.diff
===================================================================
--- trunk/dports/lang/dmd-tools/files/patch-posix.mak.diff (rev 0)
+++ trunk/dports/lang/dmd-tools/files/patch-posix.mak.diff 2015-03-29 02:39:53 UTC (rev 134530)
@@ -0,0 +1,11 @@
+--- posix.mak.orig 2015-03-01 05:11:04.000000000 +0900
++++ posix.mak 2015-03-29 11:34:52.000000000 +0900
+@@ -116,7 +116,7 @@
+ $(ROOT)/dman: $(DOC)/d.tag
+ $(ROOT)/dman: DFLAGS += -J$(DOC)
+
+-install: $(TOOLS) $(CURL_TOOLS)
++install: $(TOOLS) $(CURL_TOOLS) $(ROOT)/dustmite
+ mkdir -p $(INSTALL_DIR)/bin
+ cp $^ $(INSTALL_DIR)/bin
+
Modified: trunk/dports/lang/druntime/Portfile
===================================================================
--- trunk/dports/lang/druntime/Portfile 2015-03-29 01:34:42 UTC (rev 134529)
+++ trunk/dports/lang/druntime/Portfile 2015-03-29 02:39:53 UTC (rev 134530)
@@ -4,7 +4,7 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup D-Programming-Language druntime 2.066.1 v
+github.setup D-Programming-Language druntime 2.067.0 v
categories lang
platforms darwin
license Boost-1
@@ -17,8 +17,8 @@
startup/shutdown, etc.
homepage http://dlang.org/
-checksums rmd160 b899b7a40e587f444894f0904dc6596751e1387e \
- sha256 45e139efd7a7cd33fd1f69956371e7e442b526ecaeafad078e7171bb65b726f2
+checksums rmd160 b1ff0adbcd7b7153f66e3913756668f5f54da85f \
+ sha256 4607d9688f15946da1542e8c12a76a124fcacf41f7fa870456ba7b303b343153
depends_lib port:dmd
@@ -41,9 +41,8 @@
destroot {
xinstall -m 644 ${worksrcpath}/lib/lib${name}.a ${destroot}${prefix}/lib
xinstall -m 755 -d ${destroot}${prefix}/include
- file copy ${worksrcpath}/import ${destroot}${prefix}/include/${name}
- xinstall -m 755 -d ${destroot}${prefix}/include/${name}/src
- file copy ${worksrcpath}/src/test_runner.d ${destroot}${prefix}/include/${name}/src
+ xinstall -m 755 -d ${destroot}${prefix}/include/${name}
+ file copy ${worksrcpath}/import ${destroot}${prefix}/include/${name}/import
xinstall -m 755 -d ${destroot}${prefix}/share/doc
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}
Modified: trunk/dports/lang/phobos/Portfile
===================================================================
--- trunk/dports/lang/phobos/Portfile 2015-03-29 01:34:42 UTC (rev 134529)
+++ trunk/dports/lang/phobos/Portfile 2015-03-29 02:39:53 UTC (rev 134530)
@@ -4,7 +4,7 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup D-Programming-Language phobos 2.066.1 v
+github.setup D-Programming-Language phobos 2.067.0 v
categories lang
platforms darwin
license Boost-1
@@ -14,17 +14,12 @@
Phobos is the standard runtime library that comes with the D language compiler.
homepage http://dlang.org/
-checksums rmd160 3bce4dddf044bf7060723467210ddc1539ce9c00 \
- sha256 a1efb886b514c896795b034671be96c4ff7fee91097c0567c31acffd0eee8b8b
+checksums rmd160 88262862656d7d683e36dd9f4d2c181af452e3b0 \
+ sha256 9775eb179ebbb14dcb2b93345978c9eb90d6c1bd220f4989b545b1cac9777257
depends_lib port:druntime
-patchfiles patch-gzlib.c.diff \
- patch-posix.mak.diff
-post-patch {
- reinplace "s|-m\$(MODEL)||" ${worksrcpath}/posix.mak
- reinplace "s|/import||" ${worksrcpath}/posix.mak
-}
+patchfiles patch-gzlib.c.diff
use_configure no
Modified: trunk/dports/lang/phobos/files/patch-gzlib.c.diff
===================================================================
--- trunk/dports/lang/phobos/files/patch-gzlib.c.diff 2015-03-29 01:34:42 UTC (rev 134529)
+++ trunk/dports/lang/phobos/files/patch-gzlib.c.diff 2015-03-29 02:39:53 UTC (rev 134530)
@@ -1,11 +1,10 @@
---- etc/c/zlib/gzlib.c.orig 2014-02-16 12:22:42.000000000 +0900
-+++ etc/c/zlib/gzlib.c 2014-03-01 18:41:59.000000000 +0900
-@@ -2,7 +2,7 @@
- * Copyright (C) 2004, 2010 Mark Adler
+--- etc/c/zlib/gzlib.c.orig 2015-03-20 21:19:20.000000000 +0900
++++ etc/c/zlib/gzlib.c 2015-03-28 15:38:40.000000000 +0900
+@@ -3,6 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
--
+
+#include <unistd.h>
#include "gzguts.h"
- #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
+ #if defined(_WIN32) && !defined(__BORLANDC__)
Deleted: trunk/dports/lang/phobos/files/patch-posix.mak.diff
===================================================================
--- trunk/dports/lang/phobos/files/patch-posix.mak.diff 2015-03-29 01:34:42 UTC (rev 134529)
+++ trunk/dports/lang/phobos/files/patch-posix.mak.diff 2015-03-29 02:39:53 UTC (rev 134530)
@@ -1,11 +0,0 @@
---- posix.mak.orig 2014-08-14 00:29:57.000000000 +0900
-+++ posix.mak 2014-08-28 06:32:25.000000000 +0900
-@@ -276,7 +276,7 @@
- @[ -d $(dir $@) ] || mkdir -p $(dir $@) || [ -d $(dir $@) ]
- $(CC) -c $(CFLAGS) $< -o$@
-
--$(LIB): $(OBJS) $(ALL_D_FILES) druntime_libs
-+$(LIB): $(OBJS) $(ALL_D_FILES)
- $(DMD) $(DFLAGS) -lib -of$@ $(DRUNTIME) $(D_FILES) $(OBJS)
-
- $(ROOT)/libphobos2.so: $(ROOT)/$(SONAME)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150328/036d0b13/attachment-0001.html>
More information about the macports-changes
mailing list