pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

slurm: Fix OFED disable patch



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <jwbacon%tds.net@localhost>
Pushed By:	outpaddling
Date:		Tue Aug 16 09:05:14 2016 -0500
Changeset:	933ef9841a89496c841f944d129d5c82d77a3352

Modified Files:
	slurm/Makefile

Log Message:
slurm: Fix OFED disable patch

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=933ef9841a89496c841f944d129d5c82d77a3352

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 slurm/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/slurm/Makefile b/slurm/Makefile
index 91a6533..1b1d6f0 100644
--- a/slurm/Makefile
+++ b/slurm/Makefile
@@ -20,8 +20,6 @@ USE_LIBTOOL=	yes
 
 CONFIGURE_ARGS+=	--htmldir=${PREFIX}/share/doc/${PKGNAME_NOREV}/html
 CONFIGURE_ARGS+=	--with-munge=${BUILDLINK_PREFIX.munge}
-# FIXME: Make this an option
-CONFIGURE_ARGS+=	--with-ofed=no
 
 REPLACE_PYTHON=		doc/html/shtml2html.py
 REPLACE_PYTHON+=	doc/man/man2html.py
@@ -51,6 +49,8 @@ SUBST_CLASSES+=		configure
 SUBST_STAGE.configure=	post-patch
 SUBST_FILES.configure=	configure
 SUBST_SED.configure=	-e 's|/usr/local|${PREFIX}|g'
+# Disable OFED check unless option is enabled
+SUBST_SED.configure+=	-e 's|_x_ac_ofed_dirs="/usr /usr/pkg"|_x_ac_ofed_dirs=""|g'
 
 INSTALLATION_DIRS+=	share/examples/${PKGBASE}
 


Home | Main Index | Thread Index | Old Index