Ticket #36225: qt4-mac-private-headers.patch
File qt4-mac-private-headers.patch, 1.1 KB (added by macports@…, 12 years ago) |
---|
-
Portfile
old new 12 12 name qt4-mac 13 13 conflicts qt3 qt3-mac qt4-mac-devel 14 14 version 4.8.2 15 revision 315 revision 4 16 16 categories aqua 17 17 platforms macosx 18 18 maintainers michaelld openmaintainer … … 640 640 LICENSE.GPL3 LICENSE.LGPL README \ 641 641 ${destroot}${qt_docs_dir} 642 642 643 # Install private headers needed by QtCreator 644 foreach {src_dir include_dir} \ 645 {corelib QtCore gui QtGui script QtScript declarative QtDeclarative} { 646 set dest_dir ${destroot}${qt_includes_dir}/${include_dir}/private 647 xinstall -m 755 -d ${dest_dir} 648 set files \ 649 [exec find ${worksrcpath}/src/${src_dir} -type f -name "*_p.h"] 650 eval xinstall -m 644 [split ${files}] ${dest_dir} 651 } 652 643 653 # Move .apps into the applications_dir 644 654 xinstall -m 755 -d ${destroot}${qt_apps_dir} 645 655 foreach app [glob ${destroot}/${qt_bins_dir}/*.app] {