aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-05-06 06:20:28 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-05-06 06:20:28 +0000
commitb63bad261d7904477c3b03f827462e55c95c517c (patch)
treef186043121ad8864c4624583463925527d0360ef /science
parent567b756ca55876b39477c6b2098efa04e4b49371 (diff)
downloadports-b63bad261d7904477c3b03f827462e55c95c517c.tar.gz
ports-b63bad261d7904477c3b03f827462e55c95c517c.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/elmer-fem/Makefile4
-rw-r--r--science/elmer-fem/files/patch-src+f_stubs.c12
2 files changed, 12 insertions, 4 deletions
diff --git a/science/elmer-fem/Makefile b/science/elmer-fem/Makefile
index 19361037f021..caafaef05332 100644
--- a/science/elmer-fem/Makefile
+++ b/science/elmer-fem/Makefile
@@ -41,10 +41,6 @@ PLIST_SUB= ARCH=${MACHINE_ARCH}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on ${OSREL}
-.endif
-
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
FCFLAGS+= -fPIC
diff --git a/science/elmer-fem/files/patch-src+f_stubs.c b/science/elmer-fem/files/patch-src+f_stubs.c
new file mode 100644
index 000000000000..310c7e2162cf
--- /dev/null
+++ b/science/elmer-fem/files/patch-src+f_stubs.c
@@ -0,0 +1,12 @@
+--- src/f_stubs.c.orig Mon Aug 29 05:07:45 2005
++++ src/f_stubs.c Thu May 4 22:56:30 2006
+@@ -13,8 +13,8 @@
+
+ #else
+
+-#include <sys/resource.h>
+ #include <sys/time.h>
++#include <sys/resource.h>
+ #include <sys/times.h>
+ #include <sys/param.h>
+