Revision: 124744 https://trac.macports.org/changeset/124744 Author: takeshi@macports.org Date: 2014-08-27 14:46:45 -0700 (Wed, 27 Aug 2014) Log Message: ----------- dmd, dmd-doc, druntime, phobos: updated for 2.066 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-posix.mak.diff Modified: trunk/dports/lang/dmd/Portfile =================================================================== --- trunk/dports/lang/dmd/Portfile 2014-08-27 21:19:27 UTC (rev 124743) +++ trunk/dports/lang/dmd/Portfile 2014-08-27 21:46:45 UTC (rev 124744) @@ -1,10 +1,10 @@ - +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 -github.setup D-Programming-Language dmd 2.065 +github.setup D-Programming-Language dmd 2.066 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 6ed3b7e960341fd8e1a9ba81d029eb715401e60c \ - sha256 622785f91547f71331ab207ef811411dda9c36085c573d7225a9f8585146bc5d +checksums rmd160 66b059877a21f2903268f9f917d8183df21cdca2 \ + sha256 4a6abc9c017c74ea9f94257f3bd9d80212b07639fd17e7fd7e43ff8c8775e5ca post-patch { reinplace "s|gcc|${configure.cc}|" ${worksrcpath}/src/link.c reinplace "s|/etc|${prefix}/etc/${name}|" ${worksrcpath}/src/posix.mak @@ -27,31 +27,22 @@ use_configure no -configure.cppflags-append \ - -Wno-deprecated \ - -Wstrict-aliasing \ - -Iroot \ - -D__pascal= \ - -DMARS=1 \ - -DTARGET_OSX=1 \ - -DDM_TARGET_CPU_X86=1 -configure.cxxflags-append \ - -fno-exceptions -x c++ - build.dir ${worksrcpath}/src +# Use CFLAGS in the posix.make; some source needs special flags. +# Command-line arguments wipe the CFLAGS in posix.mak and +# extra flags cannot be added with +=. +# Another solution would be the use of override directive in posix.mak. build.args -f posix.mak \ HOST_CC=${configure.cxx} \ CC=\"${configure.cxx}\" \ - CFLAGS=\"${configure.cppflags} ${configure.cxxflags}\" \ - MFLAGS=\"${configure.cppflags} -Ibackend -Itk ${configure.cxxflags}\" \ LDFLAGS=\"${configure.ldflags} -framework CoreServices\" \ ENVP=\"MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}\" destroot { # man xinstall -m 644 -W ${worksrcpath}/docs/man/man1 \ - dmd.1 dumpobj.1 obj2asm.1 rdmd.1 \ + dmd.1 dumpobj.1 obj2asm.1 \ ${destroot}${prefix}/share/man/man1 xinstall -m 644 ${worksrcpath}/docs/man/man5/dmd.conf.5 \ ${destroot}${prefix}/share/man/man5 Modified: trunk/dports/lang/dmd-doc/Portfile =================================================================== --- trunk/dports/lang/dmd-doc/Portfile 2014-08-27 21:19:27 UTC (rev 124743) +++ trunk/dports/lang/dmd-doc/Portfile 2014-08-27 21:46:45 UTC (rev 124744) @@ -4,7 +4,7 @@ PortSystem 1.0 PortGroup github 1.0 -github.setup D-Programming-Language dlang.org 2.065 +github.setup D-Programming-Language dlang.org 2.066 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 c7f0ade3763819825e205b2ff34017f67d1059e8 \ - sha256 5ae626d24479e3f5cbdbaea7617cc377457a1d19330e399139973ae5b4283343 +checksums rmd160 7d3af12ae8cb1ae0d6635f2beea7ed63262c9493 \ + sha256 8d456fc015bfb04be0b9fdc25c38824f988bb76ae169a6abb1842882bb7acfc9 depends_lib port:phobos Modified: trunk/dports/lang/dmd-tools/Portfile =================================================================== --- trunk/dports/lang/dmd-tools/Portfile 2014-08-27 21:19:27 UTC (rev 124743) +++ trunk/dports/lang/dmd-tools/Portfile 2014-08-27 21:46:45 UTC (rev 124744) @@ -4,7 +4,7 @@ PortSystem 1.0 PortGroup github 1.0 -github.setup D-Programming-Language tools 2.065 +github.setup D-Programming-Language tools 2.066 name dmd-${github.project} categories lang platforms darwin @@ -17,8 +17,8 @@ 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 2aaaa9711b77a97e6d65beed5857ec3bea0237df \ - sha256 a79d8afda8f2876219dd8de10027812b989985432492bf747e09f8181dc05c3d +checksums rmd160 4e895d2821ae551fca2bb2bc50f14909a949f117 \ + sha256 3be30bc6d0e75abfcc6531806065ee26c042b44ed547d5aebc3b1745868c959b depends_lib port:phobos \ lib:libcurl:curl @@ -26,7 +26,7 @@ use_configure no -set bin "catdoc ddemangle detab findtags rdmd tolf" +set bin "catdoc ddemangle detab dtoh findtags rdmd tolf" set dmd ${prefix}/bin/dmd if {${build_arch} eq "x86_64"} { @@ -54,7 +54,7 @@ ${dmd} ${dflags} -of${f} ${f}.d -L-lcurl " } - system -W ${worksrcpath}/DustMite "${dmd} ${dflags} dustmite.d dsplit.d -ofdustmite" + system -W ${worksrcpath}/DustMite "${dmd} ${dflags} dustmite.d splitter.d -ofdustmite" } destroot { Modified: trunk/dports/lang/druntime/Portfile =================================================================== --- trunk/dports/lang/druntime/Portfile 2014-08-27 21:19:27 UTC (rev 124743) +++ trunk/dports/lang/druntime/Portfile 2014-08-27 21:46:45 UTC (rev 124744) @@ -4,7 +4,7 @@ PortSystem 1.0 PortGroup github 1.0 -github.setup D-Programming-Language druntime 2.065 +github.setup D-Programming-Language druntime 2.066 categories lang platforms darwin license Boost-1 @@ -17,8 +17,8 @@ startup/shutdown, etc. homepage http://dlang.org/ -checksums rmd160 bf4b341287b6fa13c060b82856ba2065d5722a26 \ - sha256 3140edaac0f48ec995a69d3cf615bcb0f209640380a9f9e6acd7b5480c489bfe +checksums rmd160 be6c8b4a6c2d51ccfaeb86444dd3b25c35d45f5c \ + sha256 70e920c5cde7626f4dc850e99c8fe5d57cc231cacf76b4dd6baa198cd5c0fa0c depends_lib port:dmd @@ -47,7 +47,6 @@ 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} - foreach f [glob ${worksrcpath}/doc/*] { - file copy ${f} ${destroot}${prefix}/share/doc/${name} - } + xinstall -m 755 -d ${destroot}${prefix}/share/${name} + file copy ${worksrcpath}/benchmark ${destroot}${prefix}/share/${name} } Modified: trunk/dports/lang/phobos/Portfile =================================================================== --- trunk/dports/lang/phobos/Portfile 2014-08-27 21:19:27 UTC (rev 124743) +++ trunk/dports/lang/phobos/Portfile 2014-08-27 21:46:45 UTC (rev 124744) @@ -4,7 +4,7 @@ PortSystem 1.0 PortGroup github 1.0 -github.setup D-Programming-Language phobos 2.065 +github.setup D-Programming-Language phobos 2.066 categories lang platforms darwin license Boost-1 @@ -14,8 +14,8 @@ Phobos is the standard runtime library that comes with the D language compiler. homepage http://dlang.org/ -checksums rmd160 a863a32c02bb3bb9135a42ee59da81256b203dac \ - sha256 fcaca9d7cc9ad1b2e3bf34e008dac1187533c36c4eca5ba81b4d9486f03808db +checksums rmd160 4b9d45716688289f5ce92f1bde2041db3d2f4bc5 \ + sha256 4232e7643fc901326dd7e9dca2217fd48e97d90bdb41bce7204844b3b155fc9b depends_lib port:druntime Modified: trunk/dports/lang/phobos/files/patch-posix.mak.diff =================================================================== --- trunk/dports/lang/phobos/files/patch-posix.mak.diff 2014-08-27 21:19:27 UTC (rev 124743) +++ trunk/dports/lang/phobos/files/patch-posix.mak.diff 2014-08-27 21:46:45 UTC (rev 124744) @@ -1,11 +1,11 @@ ---- posix.mak.orig 2014-02-16 12:22:42.000000000 +0900 -+++ posix.mak 2014-03-03 11:14:06.000000000 +0900 -@@ -274,7 +274,7 @@ +--- 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) +-$(LIB): $(OBJS) $(ALL_D_FILES) druntime_libs ++$(LIB): $(OBJS) $(ALL_D_FILES) $(DMD) $(DFLAGS) -lib -of$@ $(DRUNTIME) $(D_FILES) $(OBJS) - dll : $(ROOT)/libphobos2.so + $(ROOT)/libphobos2.so: $(ROOT)/$(SONAME)
participants (1)
-
takeshi@macports.org