blob: 387963280c2de0253f367d044a4c64ecd4690374 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-ac,v 1.2 2010/11/18 22:52:04 adam Exp $
--- share/qtcreator/static.pro.orig 2010-08-24 07:46:09.000000000 +0000
+++ share/qtcreator/static.pro
@@ -6,7 +6,7 @@ CONFIG -= qt
QT =
LIBS =
-isEmpty(vcproj) {
+!isEmpty(vcproj) {
QMAKE_LINK = @: IGNORE THIS LINE
OBJECTS_DIR =
win32:CONFIG -= embed_manifest_exe
@@ -16,7 +16,7 @@ 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
@@ -62,7 +62,7 @@ DATA_DIRS = \
!macx {
for(data_dir, DATA_DIRS) {
eval($${data_dir}.files = $$quote($$PWD/$$data_dir))
- eval($${data_dir}.path = /share/qtcreator)
+ eval($${data_dir}.path = $(PREFIX)/share/qtcreator)
INSTALLS += $$data_dir
}
}
|