diff options
author | Steve Price <steve@FreeBSD.org> | 1999-06-22 17:51:59 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-06-22 17:51:59 +0000 |
commit | 40a64497a95ad44ddd502bc9985c2305e87f5120 (patch) | |
tree | 34f5c7fc450d37ab2993dcf9eb900d11e2e0c0ee /math/kaskade/files | |
parent | Dont' try to link with -ldnet_stub on the Alpha. (diff) |
Compensate for not having a generic.h on -current boxes.
Diffstat (limited to 'math/kaskade/files')
-rw-r--r-- | math/kaskade/files/patch-aa | 12 | ||||
-rw-r--r-- | math/kaskade/files/patch-ac | 14 |
2 files changed, 22 insertions, 4 deletions
diff --git a/math/kaskade/files/patch-aa b/math/kaskade/files/patch-aa index f7e380b7e147..35714afb0d37 100644 --- a/math/kaskade/files/patch-aa +++ b/math/kaskade/files/patch-aa @@ -1,5 +1,5 @@ --- makefile.orig Wed Sep 25 09:32:22 1996 -+++ makefile Fri Sep 25 15:22:12 1998 ++++ makefile Sun Jun 20 13:35:05 1999 @@ -1,6 +1,6 @@ PURIFY = #purify PURELINK = #purelink @@ -8,7 +8,7 @@ LD = $(PURELINK) g++ #C++ = $(PURIFY) g++ -w -I/sgisoft/gnu/lib/g++-include # !!! SGI GNU 2.7.1 -@@ -18,25 +18,29 @@ +@@ -18,25 +18,33 @@ #FORFLAGS = -O -extend_source # SGI DEBFLAG = -g @@ -30,7 +30,11 @@ # F77LIBS = -lxlf -lxlf90 -lxlfutil # IBM # F77LIBS = -lfor # DEC Alpha -# F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1 ++.if $(HAVE_G2C) ++F77LIBS = -lg2c # PC LINUX, XFree86 3.1.1 ++.else +F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1 ++.endif -CFLAGS = -ansi -CPPFLAGS = @@ -45,7 +49,7 @@ default: k6 -@@ -77,18 +81,18 @@ +@@ -77,18 +85,18 @@ FSources = ma28.f madc28.f # SUN / SGI: @@ -71,7 +75,7 @@ # IBM: #ma28.o: ma28.f sysmat.h sysmatml.h sysmatsp.h # $(FOR) -c -qextname $(FORFLAGS) ma28.f -@@ -224,12 +228,12 @@ +@@ -224,12 +232,12 @@ k3: $(k3O) $(LD) $(LDFLAGS) -o k3 $(k3O) $(LIBS) diff --git a/math/kaskade/files/patch-ac b/math/kaskade/files/patch-ac new file mode 100644 index 000000000000..1d7a5409a7bd --- /dev/null +++ b/math/kaskade/files/patch-ac @@ -0,0 +1,14 @@ +--- fortran.h.orig Tue Apr 23 02:45:02 1996 ++++ fortran.h Sun Jun 20 13:32:40 1999 +@@ -1,7 +1,11 @@ + #ifndef FORTRAN_H + #define FORTRAN_H + ++#if __FreeBSD__ < 4 + #include <generic.h> + #define F77NAME(x) name2(x,_) ++#else ++#define F77NAME(x) x ## _ ++#endif + + #endif |