pkgsrc-Bugs archive

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

Re: pkg/56924 Many packages ignore package specific MAKE_JOBS overrides



The following reply was made to PR pkg/56924; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/56924 Many packages ignore package specific MAKE_JOBS
 overrides
Date: Thu, 14 Jul 2022 06:02:10 -0700 (PDT)

 >> Fix:
 >  All packages should use _MAKE_JOBS_N or a new appropriate variable.
 
 Alternatively, each Makefile can be updated similarly to what I did
 recently for misc/libreoffice:
 
  	...
  	.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
  	.endif
  	...
 
 +--------------------+--------------------------+----------------------+
 | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
 | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
 | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
 | & Network Engineer |                          | pgoyette99%gmail.com@localhost |
 +--------------------+--------------------------+----------------------+
 


Home | Main Index | Thread Index | Old Index