Skip to content

Commit

Permalink
net/mpich: Fix failure to build when devel/uthash is installed
Browse files Browse the repository at this point in the history
PR:		265684
  • Loading branch information
John Hein authored and yurivict committed Mar 31, 2024
1 parent 45fd269 commit e0a8cc0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion net/mpich/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mpich
PORTVERSION= 4.1.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net parallel
MASTER_SITES= https://www.mpich.org/static/downloads/${DISTVERSION}/

Expand Down Expand Up @@ -65,6 +65,7 @@ L0_CONFIGURE_OFF= --without-ze

CONFIGURE_ARGS= --enable-fast="" \
--with-libfabric=${LOCALBASE} \
--with-libfabric-include=${WRKDIR}/include \
pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
MPICHLIB_CFLAGS="${CFLAGS}" \
CFLAGS="-I${LOCALBASE}/include/json-c ${CFLAGS_F2018}" \
Expand Down Expand Up @@ -115,5 +116,9 @@ post-extract:

post-patch:
${RM} -r ${WRKSRC}/www
# To avoid pollution from ${LOCALBASE}/include, set up the build to look in
# ${WRKDIR} for libfabric include/rdma/ header files (see --with-libfabric
# configure args).
${MKDIR} ${WRKDIR}/include && ${LN} -s ${LOCALBASE}/include/rdma ${WRKDIR}/include/

.include <bsd.port.post.mk>

0 comments on commit e0a8cc0

Please sign in to comment.