pkgsrc/x11/qt4-creator/patches/patch-ad
adam 1cd9e16801 Changes 2.0.1:
* Compatibility with Qt-4.7.x
2010-11-18 22:52:04 +00:00

29 lines
1.1 KiB
Text

$NetBSD: patch-ad,v 1.2 2010/11/18 22:52:04 adam Exp $
--- share/qtcreator/translations/translations.pro.orig 2010-08-24 07:46:09.000000000 +0000
+++ share/qtcreator/translations/translations.pro
@@ -83,7 +83,7 @@ updateqm.name = LRELEASE ${QMAKE_FILE_IN
updateqm.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += updateqm
-isEmpty(vcproj) {
+!isEmpty(vcproj) {
QMAKE_LINK = @: IGNORE THIS LINE
OBJECTS_DIR =
win32:CONFIG -= embed_manifest_exe
@@ -93,13 +93,13 @@ isEmpty(vcproj) {
phony_src.input = PHONY_DEPS
phony_src.output = phony.c
phony_src.variable_out = GENERATED_SOURCES
- phony_src.commands = echo int main() { return 0; } > phony.c
+ phony_src.commands = echo \"int main() { return 0; }\" > phony.c
phony_src.name = CREATE phony.c
phony_src.CONFIG += combine
QMAKE_EXTRA_COMPILERS += phony_src
}
qmfiles.files = $$prependAll(LANGUAGES, $$OUT_PWD/qtcreator_,.qm)
-qmfiles.path = /share/qtcreator/translations
+qmfiles.path = $(PREFIX)/share/qtcreator/translations
qmfiles.CONFIG += no_check_exist
INSTALLS += qmfiles