summaryrefslogtreecommitdiffstats
path: root/net/openmpi
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-10-30 17:35:58 +0000
committerbrooks <brooks@FreeBSD.org>2005-10-30 17:35:58 +0000
commit86d2c9762f74a6f79b23a0ef34ab2eef164a921d (patch)
tree64af20c414a6d8d89a23ac137603973971386838 /net/openmpi
parentbd3a14190dd8b196353cf217ea3f7b6cfa763aac (diff)
downloadFreeBSD-ports-86d2c9762f74a6f79b23a0ef34ab2eef164a921d.zip
FreeBSD-ports-86d2c9762f74a6f79b23a0ef34ab2eef164a921d.tar.gz
Mark IGNORE for FreeBSD less than 5.3 since it can't build on 4.x due to
a lack of stdint.h and bugreports from FreeBSD 5.x versions prior to 5.3 are likely to be worthless. Mark BROKEN if stdint.h is missing.
Diffstat (limited to 'net/openmpi')
-rw-r--r--net/openmpi/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile
index 6038664..592caf3 100644
--- a/net/openmpi/Makefile
+++ b/net/openmpi/Makefile
@@ -39,6 +39,16 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
CONFIGURE_ARGS+= --prefix=${PREFIX}/${MPIDIR} ${CONFIGURE_TARGET}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 503000
+.if !exists(/usr/include/stdint.h)
+BROKEN= "requires stdint.h"
+.else
+IGNORE= is not supported for FreeBSD < 5.3
+.endif
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE}
@@ -62,4 +72,4 @@ build-plist: Makefile
${ECHO} "@unexec rmdir %D/%%MPIBASE%% 2>/dev/null || true" \
>> pkg-plist
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud