freebsd-ports/science/openfoam/files/patch-applications_upFC..._FoamXLib_Make_omniOptions
Thierry Thomas 57bed600c8 Shorten long patches names, in order to fix release CD in Joliet format.
PR:		94846
Submitted by:	Petr Rehor <prehor (at) gmail.com>
2006-03-26 21:05:18 +00:00

14 lines
484 B
Plaintext

--- applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/omniOptions.orig Mon Jan 17 16:46:05 2005
+++ applications/utilities/preProcessing/FoamX/C++/FoamXLib/Make/omniOptions Mon Dec 19 10:42:46 2005
@@ -4,6 +4,10 @@
OMNI_SYS_INC = -D__x86__ -D__linux__ -D__OSVERSION__=2
+#elif defined(FreeBSD)
+
+ OMNI_SYS_INC = -D__%%ARCH%%__ -D__FreeBSD__ -D__OSVERSION__=%%OSVERMAJ%%
+
#elif defined(solaris)
OMNI_SYS_INC = -D__sparc__ -D__sunos__ -D__OSVERSION__=5