pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/R R: remove superfluous "-Wl," in configure patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5bbc73dc5aa
branches:  trunk
changeset: 375727:e5bbc73dc5aa
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 23 21:16:44 2022 +0000

description:
R: remove superfluous "-Wl," in configure patch

Bump PKGREVISION.

Fix some pkglint while here.

diffstat:

 math/R/Makefile                   |   7 ++++---
 math/R/Makefile.extension         |   4 ++--
 math/R/PLIST.Darwin               |  10 +++++-----
 math/R/buildlink3.mk              |   4 ++--
 math/R/distinfo                   |   4 ++--
 math/R/patches/patch-configure.ac |   4 ++--
 6 files changed, 17 insertions(+), 16 deletions(-)

diffs (135 lines):

diff -r ea7a345ef02b -r e5bbc73dc5aa math/R/Makefile
--- a/math/R/Makefile   Wed Mar 23 13:31:07 2022 +0000
+++ b/math/R/Makefile   Wed Mar 23 21:16:44 2022 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.231 2022/03/19 23:13:59 brook Exp $
+# $NetBSD: Makefile,v 1.232 2022/03/23 21:16:44 wiz Exp $
 
 #
 # If updating this package, please try to ensure PLIST.Darwin is kept in sync
 # to avoid unnecessarily breaking macOS users.
 #
 DISTNAME=      R-4.1.3
+PKGREVISION=   1
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_R_CRAN:=base/R-4/}
 
@@ -61,7 +62,7 @@
 # BLAS/LAPACK by default and only on request accelerate. Just
 # BLAS_ACCEPTED=       ${_BLAS_TYPES} accelerate.framework
 # (here and in buildlink3.mk) and deleting the first conditional
-# branch might work, given that R knows what todo with 
+# branch might work, given that R knows what todo with
 # -framework Accelerate. Someone on Darwin really needs to test.
 .if exists(/System/Library/Frameworks/Accelerate.framework)
 CONFIGURE_ARGS+=       --with-blas="-framework Accelerate"
@@ -156,7 +157,7 @@
 CHECK_WRKREF_SKIP+=    lib/R/etc/Makeconf
 
 pre-configure:
-       ${RUN} cd ${WRKSRC} && autoreconf -fvi || echo Ignore the warnings from autoreconf
+       ${RUN} cd ${WRKSRC} && autoreconf -fvi || ${ECHO} Ignore the warnings from autoreconf
 
 # Fix library names.  Relies on build system using -headerpad_max_install_names.
 .if ${OPSYS} == "Darwin"
diff -r ea7a345ef02b -r e5bbc73dc5aa math/R/Makefile.extension
--- a/math/R/Makefile.extension Wed Mar 23 13:31:07 2022 +0000
+++ b/math/R/Makefile.extension Wed Mar 23 21:16:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.extension,v 1.27 2020/07/31 17:04:12 brook Exp $
+# $NetBSD: Makefile.extension,v 1.28 2022/03/23 21:16:44 wiz Exp $
 #
 # This Makefile fragment is included by packages for R library packages.
 #
@@ -70,7 +70,7 @@
 .endif
 
 GENERATE_PLIST+=       ( cd ${DESTDIR}${PREFIX}; for dir in ${R_INST_DIRS}; do \
-       ${FIND} ${R_LIB}/$${dir} \( -type f -o -type l \) -print; done ) | ${SORT} -u;
+                       ${FIND} ${R_LIB}/$${dir} \( -type f -o -type l \) -print; done ) | ${SORT} -u;
 
 INSTALL_TEMPLATES+=    ../../math/R/files/pkg-index.tmpl
 DEINSTALL_TEMPLATES+=  ../../math/R/files/pkg-index.tmpl
diff -r ea7a345ef02b -r e5bbc73dc5aa math/R/PLIST.Darwin
--- a/math/R/PLIST.Darwin       Wed Mar 23 13:31:07 2022 +0000
+++ b/math/R/PLIST.Darwin       Wed Mar 23 21:16:44 2022 +0000
@@ -1,17 +1,17 @@
-@comment $NetBSD: PLIST.Darwin,v 1.11 2021/12/07 12:42:15 jperkin Exp $
-@comment 
+@comment $NetBSD: PLIST.Darwin,v 1.12 2022/03/23 21:16:44 wiz Exp $
+@comment
 @comment The configure script has explicit check for darwin and sets
 @comment   --with-internal-tzcode=yes
 @comment which results in these files in lib/R/share/zoneinfo
-@comment 
+@comment
 @comment This source file:
 @comment   https://svn.r-project.org/R/trunk/src/extra/tzone/Notes
 @comment explains that osx has problems stemming from 32 bit limitations in zic.
 @comment Some further discussion found at
 @comment   https://github.com/tzinfo/tzinfo-data/issues/1
-@comment 
+@comment
 @comment Even darwin 10.10.3 (osx 14D131) still shows zic --version of 7.116
-@comment 
+@comment
 lib/R/share/zoneinfo/Africa/Abidjan
 lib/R/share/zoneinfo/Africa/Accra
 lib/R/share/zoneinfo/Africa/Addis_Ababa
diff -r ea7a345ef02b -r e5bbc73dc5aa math/R/buildlink3.mk
--- a/math/R/buildlink3.mk      Wed Mar 23 13:31:07 2022 +0000
+++ b/math/R/buildlink3.mk      Wed Mar 23 21:16:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2020/10/12 21:51:58 bacon Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2022/03/23 21:16:44 wiz Exp $
 
 BUILDLINK_TREE+=       R
 
@@ -8,7 +8,6 @@
 BUILDLINK_API_DEPENDS.R+=      R>=1.7.0
 BUILDLINK_ABI_DEPENDS.R+=      R>=4.0.3nb1
 BUILDLINK_PKGSRCDIR.R?=                ../../math/R
-.endif # R_BUILDLINK3_MK
 
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../archivers/xz/buildlink3.mk"
@@ -17,5 +16,6 @@
 .if !exists(/System/Library/Frameworks/Accelerate.framework)
 .include "../../mk/blas.buildlink3.mk"
 .endif
+.endif # R_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -R
diff -r ea7a345ef02b -r e5bbc73dc5aa math/R/distinfo
--- a/math/R/distinfo   Wed Mar 23 13:31:07 2022 +0000
+++ b/math/R/distinfo   Wed Mar 23 21:16:44 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.94 2022/03/19 23:13:59 brook Exp $
+$NetBSD: distinfo,v 1.95 2022/03/23 21:16:44 wiz Exp $
 
 BLAKE2s (R-4.1.3.tar.gz) = bee2174be0be0102367553b25fbf38b1ed2324a9193310a3fe98babec69b7988
 SHA512 (R-4.1.3.tar.gz) = cb71cc6c9551cc9cef4819ed778a8d0ef40490ec2bed27669c8e93d464a93bef5e73c2a03a714db03c87112b291a752ec2d21194e5abef81d85cb6c62643127c
 Size (R-4.1.3.tar.gz) = 35026517 bytes
-SHA1 (patch-configure.ac) = 967450ec49d375cce254e108b062ad73857d261d
+SHA1 (patch-configure.ac) = d6661984716a131bbfa1a2aa56385c535881d43d
 SHA1 (patch-m4_R.m4) = 704d5514e10adf0b5217bb71b06f44a612eca6e0
 SHA1 (patch-src_library_stats_src_Makefile.in) = 4eb93292858392792c37a706399e2cef91821bbe
 SHA1 (patch-src_main_character.c) = 842ae5d291f36f2beead4d32c1d41b18cbff878d
diff -r ea7a345ef02b -r e5bbc73dc5aa math/R/patches/patch-configure.ac
--- a/math/R/patches/patch-configure.ac Wed Mar 23 13:31:07 2022 +0000
+++ b/math/R/patches/patch-configure.ac Wed Mar 23 21:16:44 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure.ac,v 1.5 2022/03/19 23:13:59 brook Exp $
+$NetBSD: patch-configure.ac,v 1.6 2022/03/23 21:16:44 wiz Exp $
 
 Do not include system paths in R_LD_LIBRARY_PATH.
 NetBSD, FreeBSD, DragonFly, Darwin and Solaris fixes
@@ -18,7 +18,7 @@
  ## As from R 3.2.0 split up -L... and -lR
  if test "${want_R_shlib}" = yes; then
 -  LIBR0="-L\"\$(R_HOME)/lib\$(R_ARCH)\""
-+  LIBR0="-Wl,@COMPILER_RPATH_FLAG@${prefix}/lib/R/lib\$(R_ARCH) -L\"\$(R_HOME)/lib\$(R_ARCH)\""
++  LIBR0="@COMPILER_RPATH_FLAG@${prefix}/lib/R/lib\$(R_ARCH) -L\"\$(R_HOME)/lib\$(R_ARCH)\""
    LIBR1=-lR
  else
    LIBR0=



Home | Main Index | Thread Index | Old Index