pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/R-cliapp (devel/R-cliapp) Fix [check-interpreter...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40d289fe6402
branches:  trunk
changeset: 410106:40d289fe6402
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Jan 26 14:02:18 2020 +0000

description:
(devel/R-cliapp) Fix [check-interpreter.mk] issue.

Warning(?) is issued, but packaging is OK now.
=> Generating post-install file lists
/usr/bin/awk: syntax error at source line 1
 context is
         { t=$0; sub("^/export/CHROOT/usr/pkgsrc/", "");                  printf "%s %s\n"; >>>  t, <<<
         /usr/bin/awk: illegal statement at source line 1

diffstat:

 devel/R-cliapp/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 437f42cf2eb3 -r 40d289fe6402 devel/R-cliapp/Makefile
--- a/devel/R-cliapp/Makefile   Sun Jan 26 13:52:55 2020 +0000
+++ b/devel/R-cliapp/Makefile   Sun Jan 26 14:02:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/01/25 13:53:36 mef Exp $
+# $NetBSD: Makefile,v 1.4 2020/01/26 14:02:18 mef Exp $
 
 R_PKGNAME=     cliapp
 R_PKGVER=      0.1.0
@@ -24,6 +24,14 @@
 
 USE_LANGUAGES= # none
 
+REPLACE_INTERPRETER+=   r
+REPLACE.r.old=          .*R
+REPLACE.r.new=          ${PREFIX}/bin/R
+REPLACE_FILES.r=        inst/scripts/news.R \
+                       inst/scripts/outdated.R \
+                       inst/scripts/search.R \
+                       inst/scripts/up.R
+
 .include "../../math/R/Makefile.extension"
 .include "../../sysutils/R-progress/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index