summaryrefslogtreecommitdiff
path: root/devel/netcdf/patches/patch-ab
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1999-01-14 20:28:53 +0000
committerfrueauf <frueauf@pkgsrc.org>1999-01-14 20:28:53 +0000
commit8f3b96522cda0d7ed9cf0af25db1dc300c8560dc (patch)
tree558f4cee7dacd15b78b44794a6c65a92c42294ea /devel/netcdf/patches/patch-ab
parent75fb1b95439c7fa03331906bfface2923c5e73c9 (diff)
downloadpkgsrc-8f3b96522cda0d7ed9cf0af25db1dc300c8560dc.tar.gz
Initial addition of netcdf-3.4, a library for array-oriented data access.
Provided in pr 6745 by Rene Hexel.
Diffstat (limited to 'devel/netcdf/patches/patch-ab')
-rw-r--r--devel/netcdf/patches/patch-ab45
1 files changed, 45 insertions, 0 deletions
diff --git a/devel/netcdf/patches/patch-ab b/devel/netcdf/patches/patch-ab
new file mode 100644
index 00000000000..134410d105f
--- /dev/null
+++ b/devel/netcdf/patches/patch-ab
@@ -0,0 +1,45 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/01/14 20:28:54 frueauf Exp $
+
+--- macros.make.in.orig Thu Sep 18 22:56:04 1997
++++ macros.make.in Sun Sep 27 19:11:17 1998
+@@ -28,9 +28,9 @@
+
+
+ # Compilation:
+-CC = @CC@
+-CXX = @CXX@
+-FC = @FC@
++CC = ${LIBTOOL} --mode=compile @CC@
++CXX = ${LIBTOOL} --mode=compile @CXX@
++FC = ${LIBTOOL} --mode=compile @FC@
+ CFLAGS = @CFLAGS@
+ CXXFLAGS = $(CFLAGS) @CXXFLAGS@
+ FFLAGS = @FFLAGS@
+@@ -47,10 +47,10 @@
+ MATHLIB = @MATHLIB@
+ FLIBS = @FLIBS@
+ LIBS = @LIBS@
+-LINK.c = $(CC) -o $@ $(CFLAGS) $(LDFLAGS)
+-LINK.cxx = $(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS)
+-LINK.F = $(FC) -o $@ $(FFLAGS) $(FLDFLAGS)
+-LINK.f = $(FC) -o $@ $(FFLAGS) $(FLDFLAGS)
++LINK.c = ${LIBTOOL} --mode=link @CC@ -o $@ $(CFLAGS) $(LDFLAGS)
++LINK.cxx = ${LIBTOOL} --mode=link @CXX@ -o $@ $(CXXFLAGS) $(LDFLAGS)
++LINK.F = ${LIBTOOL} --mode=link @FC@ -o $@ $(FFLAGS) $(FLDFLAGS)
++LINK.f = ${LIBTOOL} --mode=link @FC@ -o $@ $(FFLAGS) $(FLDFLAGS)
+
+
+ # NetCDF files:
+@@ -66,9 +66,9 @@
+
+
+ # Misc. Utilities:
+-AR = @AR@
+-ARFLAGS = cru # NB: SunOS 4 doesn't like `-' option prefix
+-RANLIB = @RANLIB@
++AR = ${LIBTOOL} --mode=link @CC@
++ARFLAGS = -rpath $(LIBDIR) -version-info 3:4
++RANLIB = echo
+ TARFLAGS = -chf
+
+