Ticket #46239: qca.diff
File qca.diff, 1.9 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
devel/qca/Portfile
old new 6 6 7 7 name qca 8 8 version 2.0.3 9 revision 19 revision 2 10 10 set branch [join [lrange [split ${version} .] 0 1] .] 11 11 categories devel crypto security 12 12 maintainers michaelld openmaintainer … … 59 59 # use variants to change everything except framework 60 60 configure.args --verbose \ 61 61 --qtdir=${qt_dir} \ 62 --includedir=${qt_includes_dir} \ 62 63 --release \ 63 64 --no-framework 64 65 … … 74 75 } 75 76 } 76 77 78 if {${qt_dir} ne ${prefix}} { 79 # temporary transitional variant to accompany qt4-mac's transitional subport: 80 variant transitional description \ 81 {temporary variant that allows to install Qt4 and QCA "concurrently" without having to rebuild all dependents} {} 82 if {[file exists ${prefix}/lib/libQtCore.4.dylib]} { 83 default_variants +transitional 84 } 85 } 86 77 87 post-destroot { 78 88 # alias to destroot QCA top-level directory 79 89 set destroot_qt ${destroot}${qt_dir} … … 90 100 xinstall -d -m 755 ${destroot}${qt_cmake_module_dir} 91 101 xinstall -m 644 -W ${filespath} FindQCA2.cmake \ 92 102 ${destroot}${qt_cmake_module_dir} 103 104 # check if Qt4 was installed in concurrent mode; should become unconditional 105 # once Qt4 can only install that way. 106 if {${qt_dir} ne ${prefix}} { 107 # temporary 108 if {[variant_isset transitional]} { 109 ln -s ${qt_libs_dir}/libqca.2.dylib ${destroot}${prefix}/lib 110 } 111 # move the pkgconfig file to its designated location 112 move ${destroot}${qt_libs_dir}/pkgconfig/qca2.pc ${destroot}/${qt_pkg_config_dir} 113 } 93 114 } 94 115 95 116 variant debug description \