Index: trunk/magic/Makefile
===================================================================
--- trunk/magic/Makefile	(revision 28382)
+++ trunk/magic/Makefile	(revision 28383)
@@ -24,7 +24,8 @@
 	tar xvzf $(MAGIC_DIR)/magic.tgz
 	tar xvzf $(MAGIC_DIR)/ssa-core-cpp.tgz
-	tar xvzf $(QTSRC)
 	cp Makefile.magic magic/Makefile.magic
 	cp magic/VerifyStreaks/main.cpp verify/VerifyStreaks.cpp
+
+# tar xvzf $(QTSRC)
 
 qt-everywhere: $(QTDIR)/lib/libQtCore.so
Index: trunk/magic/verify/Makefile
===================================================================
--- trunk/magic/verify/Makefile	(revision 28382)
+++ trunk/magic/verify/Makefile	(revision 28383)
@@ -4,4 +4,7 @@
 CXXFLAGS = -W -Wall -O3 -DNDEBUG
 # CXXFLAGS = -W -Wall -g
+
+QTLIB_INC = /home/panstarrs/ipp/src/qtlib/include
+QTLIB_LIB = /home/panstarrs/ipp/src/qtlib/lib
 
 SSA_SRC = ../ssa-core-cpp/src
@@ -12,6 +15,6 @@
 PSINC_DIR = $(PSCONFDIR)/$(PSCONFIG)/include
 
-CINC = -I. -I$(SSA_SRC) -I$(PSINC_DIR) -I$(MAGIC_SRC)
-CLIB = -L. -L$(SSA_LIB) -I$(PSINC_DIR) -lcfitsio -lSSA -lQtCore -lQtGui
+CINC = -I. -I$(QTLIB_INC) -I$(SSA_SRC) -I$(PSINC_DIR) -I$(MAGIC_SRC)
+CLIB = -L. -L$(QTLIB_LIB) -L$(SSA_LIB) -I$(PSINC_DIR) -lcfitsio -lSSA -lQtCore -lQtGui
 
 all : $(TARGETS)
Index: trunk/psconfig/psbuild
===================================================================
--- trunk/psconfig/psbuild	(revision 28382)
+++ trunk/psconfig/psbuild	(revision 28383)
@@ -81,5 +81,5 @@
         $developer = 1;
         $optimize = 1;
-	$magic = 1;
+        $magic = 1;
         shift; next;
     }
@@ -183,14 +183,14 @@
     # the operations system needs to first update the magic software
     if ($magic) {
-	$homedir = `pwd`; chomp $homedir;
-	chdir "../magic";
-
-	if (! -d magic || ! -d ssa-core-cpp || ! -d qt-everywhere-opensource-src-4.6.1) {
-	    $status = vsystem ("make update");
-	    if ($status) { die "failed to untar magic directories"; }
-	} else {
-	    print "magic directories exist; run make update manually if needed\n";
-	}
-	chdir $homedir;
+        $homedir = `pwd`; chomp $homedir;
+        chdir "../magic";
+
+        if (! -d "magic" || ! -d "ssa-core-cpp") {
+            $status = vsystem ("make update");
+            if ($status) { die "failed to untar magic directories"; }
+        } else {
+            print "magic directories exist; run make update manually if needed\n";
+        }
+        chdir $homedir;
     }
 
