pkgsrc-WIP-changes archive

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

slurm-wlm: Patch default search paths in configure for pkgsrc

Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <>
Pushed By:	outpaddling
Date:		Fri Jan 31 10:26:03 2020 -0600
Changeset:	5a520c31fdaecc8f515d2f8733afb2072108952c

Modified Files:

Log Message:
slurm-wlm: Patch default search paths in configure for pkgsrc

To see a diff of this commit:;a=commitdiff;h=5a520c31fdaecc8f515d2f8733afb2072108952c

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

 slurm-wlm/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/slurm-wlm/Makefile b/slurm-wlm/Makefile
index 51ef9cc728..3177a9867d 100644
--- a/slurm-wlm/Makefile
+++ b/slurm-wlm/Makefile
@@ -31,8 +31,6 @@ CONFIGURE_ARGS+=	--with-libssh2=${PREFIX}
 # Future: Enable task affinity code is fully patched for NetBSD
 # CONFIGURE_ARGS.NetBSD+=	ac_cv_func_sched_setaffinity=yes
-LDFLAGS+=		-llz4
 REPLACE_PYTHON=		doc/html/
 REPLACE_PYTHON+=	doc/man/
 REPLACE_PYTHON+=	testsuite/expect/
@@ -63,6 +61,11 @@ SUBST_STAGE.gtk=	pre-configure
 SUBST_SED.gtk=		-e 's|min_gtk_version=.*|min_gtk_version=2000.0.0|'
 SUBST_FILES.gtk=	configure
+SUBST_CLASSES+=		prefix
+SUBST_STAGE.prefix=	pre-configure
+SUBST_SED.prefix=	-e 's|/usr/local|${PREFIX}|g'
+SUBST_FILES.prefix=	configure
 SUBST_CLASSES+=		make-ex
 SUBST_STAGE.make-ex=	post-install
 SUBST_FILES.make-ex=	etc/Makefile

Home | Main Index | Thread Index | Old Index