Blob Blame History Raw
diff -up ncview-1.93c/Makefile.in.BAD ncview-1.93c/Makefile.in
--- ncview-1.93c/Makefile.in.BAD	2008-08-11 14:42:41.000000000 -0400
+++ ncview-1.93c/Makefile.in	2008-08-11 14:43:19.000000000 -0400
@@ -43,7 +43,7 @@ MANDIR = @prefix@/man/man1
 ## files will be kept and installed.  Comment this line out if
 ## no such directory will be specified.
 #####################################################################
-NCVIEW_LIB_DIR = @prefix@/lib/ncview
+NCVIEW_LIB_DIR = @datadir@
 
 ######################################################################
 ## If needed, *add* here the names of any additional include or library 
@@ -115,7 +115,7 @@ clean::
 ncview: $(OBJS)
 	@CC@ $(MYCFLAGS) -o ncview $(OBJS) $(LDOPTIONS) $(OTHERLIBDIRS)	\
 		@X_LIBS@ $(NETCDFLIB) $(UDUNITSLIB) $(XAWLIB) $(XMULIB) \
-		$(PPMLIB) \
+		$(PPMLIBDIR) $(PPMLIB) \
 		@X_PRE_LIBS@ $(XTOOLLIB) $(XEXTLIB) $(XLIB) @X_EXTRA_LIBS@ -lm
 
 ncview.1: ncview.1.sed