View | Details | Raw Unified | Return to bug 217682
Collapse All | Expand All

(-)net/openmpi2/Makefile (-9 / +9 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	openmpi
3
PORTNAME=	openmpi
4
PORTVERSION=	2.0.2
4
PORTVERSION=	2.0.2
5
PORTREVISION=	2
5
PORTREVISION=	3
6
CATEGORIES=	net parallel
6
CATEGORIES=	net parallel
7
MASTER_SITES=	http://www.open-mpi.org/software/ompi/v${PORTVERSION:R}/downloads/
7
MASTER_SITES=	http://www.open-mpi.org/software/ompi/v${PORTVERSION:R}/downloads/
8
PKGNAMESUFFIX=	2
8
PKGNAMESUFFIX=	2
Lines 21-27 LIB_DEPENDS= libhwloc.so:devel/hwloc \ Link Here
21
HAS_CONFIGURE=	yes
21
HAS_CONFIGURE=	yes
22
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
23
# :keepla because port uses lt_dlopen
23
# :keepla because port uses lt_dlopen
24
USES=		execinfo fortran gmake libtool:keepla perl5 pkgconfig tar:bzip2
24
USES=		execinfo fortran gmake libtool:keepla localbase perl5 \
25
		pkgconfig tar:bzip2
25
USE_PERL5=	build
26
USE_PERL5=	build
26
27
27
MPIBASE?=	mpi
28
MPIBASE?=	mpi
Lines 33-50 PLIST_SUB+= MPIDIR=${MPIDIR} Link Here
33
CONFIGURE_ARGS+=	--prefix=${PREFIX}/${MPIDIR} \
34
CONFIGURE_ARGS+=	--prefix=${PREFIX}/${MPIDIR} \
34
			--mandir=${PREFIX}/${MPIDIR}/man \
35
			--mandir=${PREFIX}/${MPIDIR}/man \
35
			--program-prefix= \
36
			--program-prefix= \
36
			--with-hwloc=${LOCALBASE} \
37
			--with-hwloc=external \
37
			--with-libltdl=${LOCALBASE} \
38
			--with-libltdl \
38
			--enable-mpi-fortran=usempi \
39
			--enable-mpi-fortran=usempi \
39
			--enable-mpi-cxx \
40
			--enable-mpi-cxx \
40
			--enable-cxx-exceptions \
41
			--enable-cxx-exceptions \
41
			--enable-heterogeneous \
42
			--enable-heterogeneous \
42
			--enable-mpi-thread-multiple \
43
			--enable-mpi-thread-multiple \
43
			--with-libevent=${LOCALBASE}/include \
44
			--with-libevent=external \
44
			--with-libevent-libdir=${LOCALBASE}/lib \
45
			ompi_cv_fortran_ignore_tkr_data=0
45
			ompi_cv_fortran_ignore_tkr_data=0
46
46
47
LDFLAGS+=	-L${LOCALBASE}/lib
48
USE_LDCONFIG=	${PREFIX}/${MPIDIR}/lib \
47
USE_LDCONFIG=	${PREFIX}/${MPIDIR}/lib \
49
		${PREFIX}/${MPIDIR}/lib/openmpi
48
		${PREFIX}/${MPIDIR}/lib/openmpi
50
49
Lines 60-67 DEBUG_CONFIGURE_ENABLE= debug Link Here
60
59
61
IPV6_CONFIGURE_ENABLE=	ipv6
60
IPV6_CONFIGURE_ENABLE=	ipv6
62
61
63
TORQUE_CONFIGURE_ON=	--with-tm=${LOCALBASE}
62
TORQUE_CONFIGURE_WITH=	tm
64
TORQUE_CONFIGURE_OFF=	--without-tm
65
TORQUE_LIB_DEPENDS=	libtorque.so:sysutils/torque
63
TORQUE_LIB_DEPENDS=	libtorque.so:sysutils/torque
66
TORQUE_PLIST_FILES=	${MPIDIR}/lib/openmpi/mca_plm_tm.so \
64
TORQUE_PLIST_FILES=	${MPIDIR}/lib/openmpi/mca_plm_tm.so \
67
			${MPIDIR}/lib/openmpi/mca_plm_tm.la \
65
			${MPIDIR}/lib/openmpi/mca_plm_tm.la \
Lines 93-97 post-patch: Link Here
93
		${WRKSRC}/opal/tools/wrappers/Makefile.in \
91
		${WRKSRC}/opal/tools/wrappers/Makefile.in \
94
		${WRKSRC}/orte/tools/wrappers/Makefile.am \
92
		${WRKSRC}/orte/tools/wrappers/Makefile.am \
95
		${WRKSRC}/orte/tools/wrappers/Makefile.in
93
		${WRKSRC}/orte/tools/wrappers/Makefile.in
94
	@${REINPLACE_CMD} 's|define MCA_hwloc_external_.*header "|&${LOCALBASE}/include/|' \
95
		${WRKSRC}/configure
96
96
97
.include <bsd.port.mk>
97
.include <bsd.port.mk>

Return to bug 217682