summaryrefslogtreecommitdiffstats
path: root/cad/kaskade/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-06-22 17:51:59 +0000
committersteve <steve@FreeBSD.org>1999-06-22 17:51:59 +0000
commit6ac7ec75cdac8053d7712151d32e6cc54a122b03 (patch)
tree0b66b5ada618b21591b61bf22178cf3ba81fd7df /cad/kaskade/files
parent9567aba995d509fe5aad06a502ff18741b84b1c5 (diff)
downloadFreeBSD-ports-6ac7ec75cdac8053d7712151d32e6cc54a122b03.zip
FreeBSD-ports-6ac7ec75cdac8053d7712151d32e6cc54a122b03.tar.gz
Compensate for not having a generic.h on -current boxes.
Diffstat (limited to 'cad/kaskade/files')
-rw-r--r--cad/kaskade/files/patch-aa12
-rw-r--r--cad/kaskade/files/patch-ac14
2 files changed, 22 insertions, 4 deletions
diff --git a/cad/kaskade/files/patch-aa b/cad/kaskade/files/patch-aa
index f7e380b..35714af 100644
--- a/cad/kaskade/files/patch-aa
+++ b/cad/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/cad/kaskade/files/patch-ac b/cad/kaskade/files/patch-ac
new file mode 100644
index 0000000..1d7a540
--- /dev/null
+++ b/cad/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
OpenPOWER on IntegriCloud