mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 17:21:49 -04:00
Use {DOCS,EXAMPLES}_DISTFILES instead of testing PORT_OPTIONS. Add do-test target. Add LICENSE_FILE. PR: 282051 Approved by: submitter is maintainer
28 lines
538 B
C
28 lines
538 B
C
--- CalculiX.h.orig 2024-08-05 17:13:20 UTC
|
|
+++ CalculiX.h
|
|
@@ -17,12 +17,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
|
|
@@ -30,7 +32,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
|