summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-02-25 21:54:11 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-02-25 21:54:11 +0000
commit8732523858aa84469fc7fec4962d3dccc527bad8 (patch)
tree310d6043cfa9373bc2aa8c468cc188f3ad2acd0d /science
parentBROKEN: Incomplete pkg-plist (diff)
Fix `make extract' on FreeBSD-5.4 by using archivers/bsdtar.
Reported by: Courtney Thomas <cc.thomas (at) earthlink.net> Approved by: portmgr (marcus)
Diffstat (limited to 'science')
-rw-r--r--science/openfoam/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/science/openfoam/Makefile b/science/openfoam/Makefile
index 8ef317aeaf87..a5fec0324686 100644
--- a/science/openfoam/Makefile
+++ b/science/openfoam/Makefile
@@ -100,6 +100,11 @@ PLIST_SUB+= MPI="" LAM="@comment " MPICH_VER=1.2.6
BROKEN= Does not compile with gcc-2.95
.endif
+.if ${OSVERSION} <= 504103
+EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/bsdtar
+TAR= ${LOCALBASE}/bin/bsdtar
+.endif
+
.if exists(${LOCALBASE}/bin/mico-config)
MICO_VER= `${LOCALBASE}/bin/mico-config --version`
.else