pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/libreoffice Handle MAKE_JOBS.${PKGNAME} when deal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6e1d76c1e93
branches:  trunk
changeset: 381310:a6e1d76c1e93
user:      pgoyette <pgoyette%pkgsrc.org@localhost>
date:      Mon Jul 04 04:37:53 2022 +0000

description:
Handle MAKE_JOBS.${PKGNAME} when dealing with the MAKE_JOBS_SAFE vs.
--with-parallelism stuff

"Looks fine" from wiz@

diffstat:

 misc/libreoffice/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 82535b9772c9 -r a6e1d76c1e93 misc/libreoffice/Makefile
--- a/misc/libreoffice/Makefile Sun Jul 03 21:38:48 2022 +0000
+++ b/misc/libreoffice/Makefile Mon Jul 04 04:37:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.286 2022/06/30 11:18:38 nia Exp $
+# $NetBSD: Makefile,v 1.287 2022/07/04 04:37:53 pgoyette Exp $
 
 VERREL=                7.3.3
 VERRC=         2
@@ -188,7 +188,9 @@
 CONFIGURE_ENV+=                ANT_LIB=${LOCALBASE}/lib/java/ant
 
 MAKE_JOBS_SAFE=                no # --with-parallelism conficts with -jN
-.if !empty(MAKE_JOBS)
+.if !empty(MAKE_JOBS.${PKGPATH})
+CONFIGURE_ARGS+=       --with-parallelism=${MAKE_JOBS.${PKGPATH}}
+.elif !empty(MAKE_JOBS)
 CONFIGURE_ARGS+=       --with-parallelism=${MAKE_JOBS}
 .else
 CONFIGURE_ARGS+=       --with-parallelism=1



Home | Main Index | Thread Index | Old Index