Ticket #56488: tao-6.4.8-ryandesign.diff
File tao-6.4.8-ryandesign.diff, 2.8 KB (added by ryandesign (Ryan Carsten Schmidt), 6 years ago) |
---|
-
Portfile
11 11 12 12 name tao 13 13 set name_package ACE+TAO 14 version 6.4.5 15 revision 1 14 version 6.4.8 16 15 distname ${name_package}-${version} 17 16 categories devel 18 17 platforms darwin … … 45 44 patch-ace-config-macosx-sierra.h.diff \ 46 45 patch-include-makeinclude-platform_macros.GNU.diff 47 46 48 checksums rmd160 2f1c9feee9744c64c0f8e1f866c841c40fedc986 \ 49 sha256 7b71f06a2d92c45989886877ca301cf5ac263d23d40f82d5b19af4a5d6775fe9 47 checksums rmd160 011c4bce5cde3cf0fa617133b18b31ee465318ea \ 48 sha256 5d0592e0d06bcdc79bf59372ea6302a1ccc72fc3c733de5f738dfc0c83f1c6c8 \ 49 size 23464186 50 50 51 51 set os.name "sierra" 52 52 array set os.names { … … 68 68 } 69 69 } 70 70 71 set libenv DYLD_LIBRARY_PATH=${worksrcpath}/lib72 set aceenv ACE_ROOT=${worksrcpath}73 set taoenv TAO_ROOT=${worksrcpath}/TAO74 set makearg INSTALL_PREFIX=${prefix}75 71 set logdir ${prefix}/var/log/tao 76 72 set taodaemon tao_cosnaming 77 73 set daemondir ${prefix}/etc/LaunchDaemons/org.macports.${taodaemon} … … 84 80 reinplace "s|@MACOSX@|${os.name}|g" \ 85 81 ${worksrcpath}/ace/config.h \ 86 82 ${worksrcpath}/include/makeinclude/platform_macros.GNU 87 # Disable the assignment for compilers in lion and use our environment instead88 ui_info "patching platform_macosx_lion.GNU"89 reinplace "s|^\\(CXX:=.*\\)|# \\1|g" \90 ${worksrcpath}/include/makeinclude/platform_macosx_lion.GNU91 reinplace "s|^\\(CC:=.*\\)|# \\1|g" \92 ${worksrcpath}/include/makeinclude/platform_macosx_lion.GNU93 83 } 94 84 95 85 depends_lib-append path:bin/perl:perl5 \ … … 129 119 130 120 use_parallel_build no 131 121 132 build.env "${libenv} ${aceenv} ${taoenv}" 133 build.args-append CC=${configure.cc} \ 122 build.env DYLD_LIBRARY_PATH=${worksrcpath}/lib \ 123 ACE_ROOT=${worksrcpath} \ 124 TAO_ROOT=${worksrcpath}/TAO 125 build.args CC=${configure.cc} \ 134 126 CXX=${configure.cxx} \ 135 CPP=${configure.cpp} 136 build.pre_args ${makearg} all 127 CPP=${configure.cpp} \ 128 INSTALL_PREFIX=${prefix} 137 129 build { 138 130 foreach {subdir} $subdirs { 139 131 build.dir ${worksrcpath}/${subdir} … … 141 133 } 142 134 } 143 135 144 destroot.env "${libenv} ${aceenv} ${taoenv}"145 destroot. pre_args ${makearg} install136 destroot.env {*}${build.env} 137 destroot.args {*}${build.args} 146 138 destroot.keepdirs ${logdir} 147 139 destroot { 148 140 xinstall -d -o ${taouser} -m 0755 ${logdir}