FreeBSD Bugzilla – Attachment 180696 Details for
Bug 217682
net/openmpi2: remove implicit -L/usr/local/lib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
openmpi2.patch (text/plain), 2.03 KB, created by
Tijl Coosemans
on 2017-03-10 13:46:51 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2017-03-10 13:46:51 UTC
Size:
2.03 KB
patch
obsolete
>Index: net/openmpi2/Makefile >=================================================================== >--- net/openmpi2/Makefile (revision 434884) >+++ net/openmpi2/Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= openmpi > PORTVERSION= 2.0.2 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= net parallel > MASTER_SITES= http://www.open-mpi.org/software/ompi/v${PORTVERSION:R}/downloads/ > PKGNAMESUFFIX= 2 >@@ -21,7 +21,8 @@ LIB_DEPENDS= libhwloc.so:devel/hwloc \ > HAS_CONFIGURE= yes > INSTALL_TARGET= install-strip > # :keepla because port uses lt_dlopen >-USES= execinfo fortran gmake libtool:keepla perl5 pkgconfig tar:bzip2 >+USES= execinfo fortran gmake libtool:keepla localbase perl5 \ >+ pkgconfig tar:bzip2 > USE_PERL5= build > > MPIBASE?= mpi >@@ -33,18 +34,16 @@ PLIST_SUB+= MPIDIR=${MPIDIR} > CONFIGURE_ARGS+= --prefix=${PREFIX}/${MPIDIR} \ > --mandir=${PREFIX}/${MPIDIR}/man \ > --program-prefix= \ >- --with-hwloc=${LOCALBASE} \ >- --with-libltdl=${LOCALBASE} \ >+ --with-hwloc=external \ >+ --with-libltdl \ > --enable-mpi-fortran=usempi \ > --enable-mpi-cxx \ > --enable-cxx-exceptions \ > --enable-heterogeneous \ > --enable-mpi-thread-multiple \ >- --with-libevent=${LOCALBASE}/include \ >- --with-libevent-libdir=${LOCALBASE}/lib \ >+ --with-libevent=external \ > ompi_cv_fortran_ignore_tkr_data=0 > >-LDFLAGS+= -L${LOCALBASE}/lib > USE_LDCONFIG= ${PREFIX}/${MPIDIR}/lib \ > ${PREFIX}/${MPIDIR}/lib/openmpi > >@@ -60,8 +59,7 @@ DEBUG_CONFIGURE_ENABLE= debug > > IPV6_CONFIGURE_ENABLE= ipv6 > >-TORQUE_CONFIGURE_ON= --with-tm=${LOCALBASE} >-TORQUE_CONFIGURE_OFF= --without-tm >+TORQUE_CONFIGURE_WITH= tm > TORQUE_LIB_DEPENDS= libtorque.so:sysutils/torque > TORQUE_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_plm_tm.so \ > ${MPIDIR}/lib/openmpi/mca_plm_tm.la \ >@@ -93,5 +91,7 @@ post-patch: > ${WRKSRC}/opal/tools/wrappers/Makefile.in \ > ${WRKSRC}/orte/tools/wrappers/Makefile.am \ > ${WRKSRC}/orte/tools/wrappers/Makefile.in >+ @${REINPLACE_CMD} 's|define MCA_hwloc_external_.*header "|&${LOCALBASE}/include/|' \ >+ ${WRKSRC}/configure > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217682
: 180696