--- QScintilla/Qt4/qscintilla.pro.orig	Tue Nov 16 15:07:59 2010 -0800
+++ QScintilla/Qt4/qscintilla.pro	Sat Nov 20 01:31:07 2010 -0600
@@ -40,7 +40,7 @@
 DEFINES = QSCINTILLA_MAKE_DLL QT SCI_LEXER
 
 !win32 {
-    target.path = /usr/local/lib
+    target.path = @PREFIX@/lib
     INSTALLS += target
 }
 
--- src/3rdParty/qticonloader.cpp.orig	Tue Nov 16 15:07:59 2010 -0800
+++ src/3rdParty/qticonloader.cpp	Sat Nov 20 01:35:36 2010 -0600
@@ -170,7 +170,7 @@
 #ifdef Q_WS_X11
     QString dataDirs = QFile::decodeName(getenv("XDG_DATA_DIRS"));
     if (dataDirs.isEmpty())
-        dataDirs = QLatin1String("/usr/local/share/:/usr/share/");
+        dataDirs = QLatin1String("@PREFIX@/share/:/usr/share/");
     
     dataDirs.prepend(QDir::homePath() + QLatin1String("/:"));
     iconDirs = dataDirs.split(QLatin1Char(':'));
@@ -219,7 +219,7 @@
     
     // KDE (and others)
     if (dataDirs.isEmpty())
-        dataDirs = QLatin1String("/usr/local/share/:/usr/share/");
+        dataDirs = QLatin1String("@PREFIX@/share/:/usr/share/");
     
     dataDirs += QLatin1Char(':') + kdeHome() + QLatin1String("/share");
     dataDirs.prepend(QDir::homePath() + QLatin1String("/:"));
