mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
- Update to the latest version. Changelog: http://www.dhondt.de/new_calc.htm - Attempt to make the build reproducible concerning the date in the executable. - Drop temporarily) the taucs dependency. It brings a secondary dependency on metis4 which we are not packaging. We will bring taucs back when it depends on metis5 - Pet portlint. PR: 234146 Approved by: thierry (mentor)
28 lines
538 B
C
28 lines
538 B
C
--- CalculiX.h.orig 2018-12-15 14:30:31 UTC
|
|
+++ CalculiX.h
|
|
@@ -18,12 +18,14 @@
|
|
|
|
#include <pthread.h>
|
|
|
|
-#define Linux 1
|
|
+#include <pthread.h>
|
|
+
|
|
+#define FreeBSD 1
|
|
#define IRIX 2
|
|
#define IRIX64 3
|
|
#define HP 4
|
|
|
|
-#if ARCH == Linux
|
|
+#if ARCH == FreeBSD
|
|
#define FORTRAN(A,B) A##_ B
|
|
#elif ARCH == IRIX || ARCH == IRIX64
|
|
#define FORTRAN(A,B) A##_##B
|
|
@@ -31,7 +33,7 @@
|
|
#define FORTRAN(A,B) A##B
|
|
#endif
|
|
|
|
-#if ARCH == Linux
|
|
+#if ARCH == FreeBSD
|
|
#define CEE(A,B) A##_ B
|
|
#elif ARCH == IRIX || ARCH == IRIX64
|
|
#define CEE(A,B) A##_##B
|