Ticket #15353: qt4-mac-pkgconfig-location.patch
File qt4-mac-pkgconfig-location.patch, 1.6 KB (added by clubjuggler@…, 16 years ago) |
---|
-
Portfile
old new 34 34 # Once installed, they should not be moved so they can find each other 35 35 # (e.g. assistant.app) and the examples directory 36 36 set bindir ${prefix}/libexec/${name}/bin 37 set frameworkdir ${prefix}/Library/Frameworks 37 38 38 39 post-configure { 39 40 # Assures local header is included instead of one from PCRE and OpenJPEG (and perhaps others). … … 61 62 -system-zlib -qt-gif \ 62 63 -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql \ 63 64 -no-sql-sqlite -no-nis -no-cups \ 64 -framework -libdir '${ prefix}/Library/Frameworks'\65 -framework -libdir '${frameworkdir}' \ 65 66 -make libs -make tools \ 66 67 -I${worksrcpath}/include -I${prefix}/include \ 67 68 -L${worksrcpath}/lib -L${prefix}/lib … … 101 102 } 102 103 } 103 104 105 # Put pkgconfig directory in correct place (Fix Ticket #15353) 106 system "mv ${destroot}${frameworkdir}/pkgconfig ${destroot}${prefix}/lib/" 107 104 108 # install documentation 105 109 foreach doc {INSTALL LICENSE.GPL2 LICENSE.GPL3 OPENSOURCE-NOTICE.TXT README \ 106 110 GPL_EXCEPTION_ADDENDUM.TXT GPL_EXCEPTION.TXT} { … … 116 120 } 117 121 118 122 variant noframework description "Do not build frameworks" { 119 configure.args-delete -framework -libdir '${ prefix}/Library/Frameworks'123 configure.args-delete -framework -libdir '${frameworkdir}' 120 124 configure.args-append -no-framework 121 125 } 122 126