Index: trunk/psLib/src/astronomy/Makefile
===================================================================
--- trunk/psLib/src/astronomy/Makefile	(revision 2600)
+++ trunk/psLib/src/astronomy/Makefile	(revision 2602)
@@ -3,8 +3,12 @@
 endif
 
+# XXX: Must put appropiate conditional here:
+LIBXMLDIR = /usr/include/libxml2
+LIBXMLDIR = /usr/local/include/libxml2
+
 TARGET_STATIC  = libpslib.a
 include ../Makefile.Globals
 CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \
-    -I.. -I../image -I../fileUtils -I/usr/local/include/libxml2 \
+    -I.. -I../image -I../fileUtils -I$(LIBXMLDIR) \
     -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\""
 
Index: trunk/psLib/src/astronomy/psCoord.c
===================================================================
--- trunk/psLib/src/astronomy/psCoord.c	(revision 2600)
+++ trunk/psLib/src/astronomy/psCoord.c	(revision 2602)
@@ -10,6 +10,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-02 21:12:51 $
+*  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-12-03 19:43:43 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -208,7 +208,9 @@
     y = coord->d;
     dx = x - transform->phiP;
-    sinY = cos(y) * sin(dx) * transform->sinDeltaP + sin(y) * transform->cosDeltaP;
+    sinY = cos(y) * sin(dx) * transform->sinDeltaP +
+           sin(y) * transform->cosDeltaP;
     cosY = sqrt(1.0 - sinY * sinY);
-    sinX = (cos(y) * sin(dx) * transform->cosDeltaP - sin(y) * transform->sinDeltaP) / cos(y);
+    sinX = (cos(y) * sin(dx) * transform->cosDeltaP -
+            sin(y) * transform->sinDeltaP) / cos(y);
     cosX = cos(y) * cos(dx) / cos(y);
 
