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 <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Fri Jan 31 10:26:03 2020 -0600
Changeset:	5a520c31fdaecc8f515d2f8733afb2072108952c

Modified Files:
	slurm-wlm/Makefile

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

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

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

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

diffs:
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/shtml2html.py
 REPLACE_PYTHON+=	doc/man/man2html.py
 REPLACE_PYTHON+=	testsuite/expect/regression.py
@@ -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