Ticket #51340: patch-dmd-Portfile.diff
File patch-dmd-Portfile.diff, 1.9 KB (added by tenomoto (Takeshi Enomoto), 9 years ago) |
---|
-
Portfile
5 5 PortGroup github 1.0 6 6 PortGroup muniversal 1.0 7 7 8 github.setup D-Programming-Language dmd 2.069.2 v 9 revision 1 8 github.setup dlang dmd 2.071.0 v 10 9 categories lang 11 10 platforms darwin 12 11 license {GPL-1 Artistic-1} Boost-1 Restrictive … … 17 16 It pragmatically combines efficiency, control, \ 18 17 and modeling power, with safety and programmer productivity. 19 18 homepage http://dlang.org/ 20 checksums rmd160 f152dfa335702cb991753b29a1372671e65e39b4\21 sha256 cab69dd7d0ed84f8e2c72667a9e97cb6b9f233fd647a9cd8811591c24f18331719 checksums rmd160 0a16e840a9184747dc6a9be68693d5ffcea350e9 \ 20 sha256 a2012524d89f8bd2e6b625ee6a85af74ba8d217a3b4220270b4667924b13112f 22 21 post-patch { 23 reinplace "s|gcc|${configure.cc}|" ${worksrcpath}/src/link.d24 reinplace "s|/etc|${prefix}/etc/${name}|" ${worksrcpath}/src/posix.mak25 22 reinplace "s|/etc|${prefix}/etc/${name}|" ${worksrcpath}/docs/man/man1/${name}.1 26 23 reinplace "s|/etc|${prefix}/etc/${name}|" ${worksrcpath}/docs/man/man5/${name}.conf.5 27 24 } … … 42 39 # extra flags cannot be added with +=. 43 40 # Another solution would be the use of override directive in posix.mak. 44 41 build.args -f posix.mak \ 45 HOST_C C="${configure.cxx}" \42 HOST_CXX="${configure.cxx}" \ 46 43 LDFLAGS="${configure.ldflags} -framework CoreServices" \ 47 44 ENVP="MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}" \ 45 SYSCONFDIR=${prefix}/etc/${name} \ 48 46 HOST_DMD=${prefix}/libexec/dmd-bootstrap/bin/dmd 49 47 50 48 if { ![variant_isset universal] } {