diff options
author | rillig <rillig@pkgsrc.org> | 2020-01-13 18:06:47 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-01-13 18:06:47 +0000 |
commit | be4444c06d12a4565d03be15760e26e66c857fa8 (patch) | |
tree | 4072c0f0a7950f1c0a59251ade5692289e58eff2 /pkgtools/R2pkg | |
parent | c69a8f4fa134e98a7d931a6f74b40f5c65504b1b (diff) | |
download | pkgsrc-be4444c06d12a4565d03be15760e26e66c857fa8.tar.gz |
pkgtools/R2pkg: update to 0.6.4
Changes since 0.6.3:
* Fix hardcoded use of bmake.
Diffstat (limited to 'pkgtools/R2pkg')
-rw-r--r-- | pkgtools/R2pkg/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/R2pkg/files/R2pkg.R | 9 | ||||
-rwxr-xr-x | pkgtools/R2pkg/files/R2pkg.sh | 3 | ||||
-rw-r--r-- | pkgtools/R2pkg/files/RELEASE | 7 |
4 files changed, 16 insertions, 7 deletions
diff --git a/pkgtools/R2pkg/Makefile b/pkgtools/R2pkg/Makefile index 46371bb3ab5..54154a59595 100644 --- a/pkgtools/R2pkg/Makefile +++ b/pkgtools/R2pkg/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2019/10/19 15:47:03 rillig Exp $ +# $NetBSD: Makefile,v 1.11 2020/01/13 18:06:47 rillig Exp $ # -VERS= 0.6.3 +VERS= 0.6.4 PKGNAME= R2pkg-${VERS} CATEGORIES= pkgtools diff --git a/pkgtools/R2pkg/files/R2pkg.R b/pkgtools/R2pkg/files/R2pkg.R index f2a16dabb06..74375c705d9 100644 --- a/pkgtools/R2pkg/files/R2pkg.R +++ b/pkgtools/R2pkg/files/R2pkg.R @@ -1,4 +1,4 @@ -# $NetBSD: R2pkg.R,v 1.27 2019/10/25 19:00:16 rillig Exp $ +# $NetBSD: R2pkg.R,v 1.28 2020/01/13 18:06:47 rillig Exp $ # # Copyright (c) 2014,2015,2016,2017,2018,2019 # Brook Milligan. All rights reserved. @@ -42,6 +42,7 @@ arg.dependency_list <- Sys.getenv('DEPENDENCY_LIST') arg.maintainer_email <- Sys.getenv('MAINTAINER_EMAIL') arg.rpkg_description_url <- Sys.getenv('RPKG_DESCRIPTION_URL') arg.quiet_curl <- as.logical(Sys.getenv('QUIET_CURL')) +arg.make <- Sys.getenv('MAKE') mkcvsid <- paste0('# $', 'NetBSD$') @@ -349,8 +350,10 @@ new.depends.pkg <- function(dependency) Sys.glob(paste0('../../wip/R-', depends(dependency))) depends.pkg.fullname <- function(dependency, index=1) { - result <- system(paste('cd', depends.pkg(dependency)[index], '&& bmake show-var VARNAME=PKGNAME'), intern = TRUE) - result + cmd <- sprintf('cd %s && %s show-var VARNAME=PKGNAME', + depends.pkg(dependency)[index], arg.make) +message(cmd) + system(cmd, intern = TRUE) } depends.pkg.vers <- function(dependency, index=1) { diff --git a/pkgtools/R2pkg/files/R2pkg.sh b/pkgtools/R2pkg/files/R2pkg.sh index 672976055d0..b8b01e8f39c 100755 --- a/pkgtools/R2pkg/files/R2pkg.sh +++ b/pkgtools/R2pkg/files/R2pkg.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: R2pkg.sh,v 1.13 2019/10/19 18:47:59 rillig Exp $ +# $NetBSD: R2pkg.sh,v 1.14 2020/01/13 18:06:47 rillig Exp $ # # Copyright (c) 2014,2015,2016,2017,2018,2019 # Brook Milligan. All rights reserved. @@ -160,6 +160,7 @@ make_package () RPKG_DESCRIPTION_URL="$rpkg_description_url" \ QUIET_CURL="$quiet_curl" \ LC_ALL="C" \ + MAKE="$make" \ Rscript --no-save -e "source('@LIBDIR@/R2pkg.R'); main()" retval=${?} if [ $retval -ne 0 ]; then diff --git a/pkgtools/R2pkg/files/RELEASE b/pkgtools/R2pkg/files/RELEASE index 30e00db9fdc..f87d3597f72 100644 --- a/pkgtools/R2pkg/files/RELEASE +++ b/pkgtools/R2pkg/files/RELEASE @@ -1,4 +1,4 @@ -$NetBSD: RELEASE,v 1.6 2019/10/19 15:47:03 rillig Exp $ +$NetBSD: RELEASE,v 1.7 2020/01/13 18:06:47 rillig Exp $ RELEASE ======= @@ -70,3 +70,8 @@ R2pkg v0.6.3 (2019-10-19) * Fix comparison of articles (a, an) in comments. * Lots of refactorings. + +R2pkg v0.6.4 (2020-01-13) +------------------------- + +* Fix hardcoded use of bmake. |