pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/libstemmer libstemmer: no -Wl,--version-scrip...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/960a2e3fd386
branches:  trunk
changeset: 377978:960a2e3fd386
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Apr 25 23:22:58 2022 +0000

description:
libstemmer: no -Wl,--version-script on SunOS

diffstat:

 textproc/libstemmer/Makefile                  |  4 +++-
 textproc/libstemmer/distinfo                  |  4 ++--
 textproc/libstemmer/patches/patch-GNUmakefile |  4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r 26b6c3c4a181 -r 960a2e3fd386 textproc/libstemmer/Makefile
--- a/textproc/libstemmer/Makefile      Mon Apr 25 23:16:50 2022 +0000
+++ b/textproc/libstemmer/Makefile      Mon Apr 25 23:22:58 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2021/05/24 19:54:26 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/04/25 23:22:58 tnn Exp $
 
 DISTNAME=      snowball-2.1.0
 PKGNAME=       ${DISTNAME:S/snowball/libstemmer/}
@@ -18,6 +18,8 @@
 
 INSTALLATION_DIRS+=    bin include lib
 
+BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=libstemmer/symbol.map
+
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/include/libstemmer.h \
                ${DESTDIR}${PREFIX}/include
diff -r 26b6c3c4a181 -r 960a2e3fd386 textproc/libstemmer/distinfo
--- a/textproc/libstemmer/distinfo      Mon Apr 25 23:16:50 2022 +0000
+++ b/textproc/libstemmer/distinfo      Mon Apr 25 23:22:58 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:22:17 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/04/25 23:22:58 tnn Exp $
 
 BLAKE2s (snowball-2.1.0.tar.gz) = 721871eda75290a6f9279d94beb5ab1383564dfdf782bf0cc9a8c0fccacc656d
 SHA512 (snowball-2.1.0.tar.gz) = 1efd7d8ab58852987e83247048244882c517e32237c8cb3c0558b66ecfb075733ce8805ebb76041e6e7d6664c236054effe66838e7c524ee529ce869aa8134f0
 Size (snowball-2.1.0.tar.gz) = 220324 bytes
-SHA1 (patch-GNUmakefile) = 0a0c0a1760338fc55374e88b4ab853b47dc24ea0
+SHA1 (patch-GNUmakefile) = 85aa0b62ac0d51f31890d8c0f3eed82a3b3cba92
 SHA1 (patch-libstemmer_symbol.map) = 0122f03d0ac54dae908ffd873f1ae4a6e502a56f
diff -r 26b6c3c4a181 -r 960a2e3fd386 textproc/libstemmer/patches/patch-GNUmakefile
--- a/textproc/libstemmer/patches/patch-GNUmakefile     Mon Apr 25 23:16:50 2022 +0000
+++ b/textproc/libstemmer/patches/patch-GNUmakefile     Mon Apr 25 23:22:58 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-GNUmakefile,v 1.2 2021/02/18 10:26:56 wiz Exp $
+$NetBSD: patch-GNUmakefile,v 1.3 2022/04/25 23:22:58 tnn Exp $
 
 * Build dynamic library, from archlinux.
 
@@ -23,7 +23,7 @@
        $(AR) -cru $@ $^
  
 +libstemmer.so: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS)
-+      $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,libstemmer.so.0,-version-script,libstemmer/symbol.map -o $@.0.0.0 $^
++      $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,libstemmer.so.0 -Wl,--version-script=libstemmer/symbol.map -o $@.0.0.0 $^
 +
  stemwords: $(STEMWORDS_OBJECTS) libstemmer.o
        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^



Home | Main Index | Thread Index | Old Index