Ticket #47204: qtsg.diff
File qtsg.diff, 1.8 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
devel/qtscriptgenerator/Portfile
old new 6 6 7 7 name qtscriptgenerator 8 8 version 0.2.0 9 revision 1 9 10 categories devel kde4 10 11 license LGPL-2.1 11 12 maintainers michaelld openmaintainer … … 28 29 patch-qtbindings.diff \ 29 30 patch-generator_typesystem_phonon-qtscript.xml.diff \ 30 31 patch-generator_typesystem_phonon.xml.diff 32 patchfiles-append remove-QtScriptFutureIterator.diff \ 33 patch-include-everything.diff \ 34 patch-build-system-for-MacPorts.diff 31 35 32 36 # check for +debug variant of this port, and make sure phonon was 33 37 # installed with +debug as well; if not, error out. phonon checks to … … 49 53 # copy the QMake build script into place 50 54 copy ${filespath}/qtsg.pro ${worksrcpath} 51 55 56 reinplace "s|@QT_FRAMEWORKS_DIR@|${qt_frameworks_dir}|g" \ 57 ${worksrcpath}/generator/main.h 58 reinplace "s|@QT_INCLUDES_DIR@|${qt_includes_dir}|g" \ 59 ${worksrcpath}/generator/main.h 60 reinplace "s|@PREFIX@|${prefix}|g" \ 61 ${worksrcpath}/generator/main.h 62 52 63 # allow for universal and non-native building if just the 53 64 # qtbinding scripts, not the generator (which is solely used for 54 65 # generating the scripts) … … 70 81 configure.args "-o Makefile qtsg.pro" 71 82 configure.post_args 72 83 configure.universal_args 84 configure.env-delete \ 85 QTDIR=${qt_dir} 86 build.env-delete QTDIR=${qt_dir} 87 # used by generator/generator: 88 build.env-append QTFRAMEWORKS=${qt_frameworks_dir} 73 89 74 90 # allow ccache, if specified by the user 75 91 pre-build {