From 86d2c9762f74a6f79b23a0ef34ab2eef164a921d Mon Sep 17 00:00:00 2001 From: brooks Date: Sun, 30 Oct 2005 17:35:58 +0000 Subject: 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. --- net/openmpi/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'net/openmpi') 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 + +.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 +.include -- cgit v1.1