--- orig.kdiff3.pro	2014-07-03 13:37:37.000000000 +0200
+++ kdiff3.pro	2014-10-17 18:20:22.000000000 +0200
@@ -1,8 +1,8 @@
 TEMPLATE = app
 # When unresolved items remain during linking: Try adding "shared" in the CONFIG.
-CONFIG  += qt warn_on thread precompile_header
+CONFIG  += qt warn_on thread
 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
-#!os2:PRECOMPILED_HEADER = stable.h
+
 HEADERS  = version.h                     \
            common.h                      \
            diff.h                        \
@@ -66,12 +66,16 @@
 }
 
 unix {
-  documentation.path = /usr/local/share/doc/kdiff3
+  documentation.path = @PREFIX@/share/doc/kdiff3
   documentation.files = ../doc/*
 
   INSTALLS += documentation
 
-  target.path = /usr/local/bin
+  target.path = @PREFIX@/bin
   INSTALLS += target
 }
 
+mac {
+	CONFIG -= app_bundle
+}
+
