Ticket #56489: ace-6.4.8-ryandesign.diff
File ace-6.4.8-ryandesign.diff, 2.8 KB (added by ryandesign (Ryan Carsten Schmidt), 6 years ago) |
---|
-
Portfile
4 4 5 5 name ace 6 6 set name_package ACE 7 version 6.4. 57 version 6.4.8 8 8 distname ${name_package}-${version} 9 9 categories devel 10 10 maintainers {gmail.com:tlockhart1976 @lockhart} openmaintainer … … 38 38 patchfiles patch-ace-config.h.diff \ 39 39 patch-include-makeinclude-platform_macros.GNU.diff 40 40 41 checksums rmd160 e4f4645f8561e180811950ea0261eba625e1e51c \ 42 sha256 004198f7a07fc2938986399d654547ff3811936b16202fdab59b3beb365dd82f 41 checksums rmd160 0b8a65df846331bec1d69ce781d22508cf67f37f \ 42 sha256 0f8121a8e3f49e217644a353d439d148f1d6fe52487ae6bd80572a2bb4f30ca4 \ 43 size 8381452 43 44 44 45 set os.name "sierra" 45 46 array set os.names { … … 61 62 } 62 63 } 63 64 64 set libenv DYLD_LIBRARY_PATH=${worksrcpath}/lib65 set aceenv ACE_ROOT=${worksrcpath}66 set makearg INSTALL_PREFIX=${prefix}67 65 # omit examples and test programs to cut build time by 60% 68 66 # set subdirs { . } 69 67 set subdirs { ace ACEXML ASNMP Kokyu apps netsvcs } … … 72 70 reinplace "s|@MACOSX@|${os.name}|g" \ 73 71 ${worksrcpath}/ace/config.h \ 74 72 ${worksrcpath}/include/makeinclude/platform_macros.GNU 75 # disable the assignment for compilers in lion and use our environment instead76 ui_info "patching platform_macosx_lion.GNU"77 reinplace "s|^\\(CXX:=.*\\)|# \\1|g" \78 ${worksrcpath}/include/makeinclude/platform_macosx_lion.GNU79 reinplace "s|^\\(CC:=.*\\)|# \\1|g" \80 ${worksrcpath}/include/makeinclude/platform_macosx_lion.GNU81 73 } 82 74 83 75 depends_lib-append path:bin/perl:perl5 … … 117 109 118 110 use_parallel_build no 119 111 120 build.env "${libenv} ${aceenv}" 121 build.args-append CC=${configure.cc} \ 112 build.env DYLD_LIBRARY_PATH=${worksrcpath}/lib \ 113 ACE_ROOT=${worksrcpath} 114 build.args CC=${configure.cc} \ 122 115 CXX=${configure.cxx} \ 123 CPP=${configure.cpp} 124 build.pre_args ${makearg} all 116 CPP=${configure.cpp} \ 117 INSTALL_PREFIX=${prefix} 125 118 build { 126 119 foreach {subdir} $subdirs { 127 120 build.dir ${worksrcpath}/${subdir} … … 129 122 } 130 123 } 131 124 132 destroot.env "${libenv} ${aceenv}" 133 destroot.args-append CC=${configure.cc} \ 134 CXX=${configure.cxx} \ 135 CPP=${configure.cpp} 136 destroot.pre_args ${makearg} install 125 destroot.env {*}${build.env} 126 destroot.args {*}${build.args} 137 127 destroot { 138 128 foreach {subdir} $subdirs { 139 129 destroot.dir ${worksrcpath}/${subdir}