1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Use our sys/tree.h and it's requirements rather than some old incompatable

ones in the OpenMPI source tree.  This fixes the build on 7.0.  Bump
PORTVERSION on all platforms as this may change the compiled output
on others.

Unquote BROKEN in the missing stdint.h case.
This commit is contained in:
Brooks Davis 2006-03-15 22:25:06 +00:00
parent 0739541683
commit f43a83dbb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157349
2 changed files with 17 additions and 8 deletions

View File

@ -11,6 +11,7 @@
PORTNAME= openmpi
DISTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= net parallel
MASTER_SITES= http://www.open-mpi.org/software/ompi/v1.0/downloads/
@ -22,9 +23,6 @@ LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
USE_BZIP2= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
# Can't use until does not imply GNU_CONFIGURE or there's a sane way
# to change the prefix for configure.
#USE_AUTOTOOLS= libtool:15
MPIBASE?= mpi
MPIDIR?= ${MPIBASE}/${UNIQUENAME}
@ -41,17 +39,13 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}/${MPIDIR} ${CONFIGURE_TARGET}
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 700000
BROKEN= Does not compile on FreeBSD >= 7.0
.endif
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
.if ${OSVERSION} < 503000
.if !exists(/usr/include/stdint.h)
BROKEN= "requires stdint.h"
BROKEN= requires stdint.h
.else
IGNORE= is not supported for FreeBSD < 5.3
.endif

View File

@ -0,0 +1,15 @@
$FreeBSD$
--- opal/event/Makefile.in.orig
+++ opal/event/Makefile.in
@@ -828,8 +828,7 @@
# Also specify where we can find this package's config.h because some
# of the header files in this directory get included elsewhere in OMPI.
# #@%@#$...
-AM_CPPFLAGS = \
- -I$(top_srcdir)/opal/event/compat
+AM_CPPFLAGS =
# OMPI: No need to build the sample or test