summaryrefslogtreecommitdiff
path: root/devel/netcdf/patches/patch-ag
blob: 39275864ecfde6f7e1d1ea498bdcbac9e1fdaef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ag,v 1.2 2003/03/02 08:26:10 jtb Exp $

--- ncdump/Makefile.orig	Thu Feb 27 13:28:14 2003
+++ ncdump/Makefile
@@ -16,7 +16,7 @@ PACKING_LIST	= $(c_sources) $(headers) d
 		  test0.cdl ncdump.1 Makefile
 MANUAL		= ncdump.1
 
-lib_netcdf	= ../libsrc/libnetcdf.a
+lib_netcdf	= ../libsrc/libnetcdf.la
 
 # Don't use "-L../libsrc -lnetcdf" in the following because that doesn't
 # work on a CRAY T90 (sigh).
@@ -28,7 +28,7 @@ GARBAGE		= $(PROGRAM) test0.nc test1.nc 
 all:		$(PROGRAM)
 
 $(PROGRAM):	$(lib_netcdf) $(OBJS)
-	$(LINK.c) $(OBJS) $(ld_netcdf) $(LIBS) 
+	$(LINK.c) $(OBJS) $(ld_netcdf) $(LIBS)
 
 test:		$(PROGRAM) FORCE
 	$(NCGEN) -b test0.cdl