pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libstemmer



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr 25 23:22:58 UTC 2022

Modified Files:
        pkgsrc/textproc/libstemmer: Makefile distinfo
        pkgsrc/textproc/libstemmer/patches: patch-GNUmakefile

Log Message:
libstemmer: no -Wl,--version-script on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/libstemmer/Makefile \
    pkgsrc/textproc/libstemmer/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/libstemmer/patches/patch-GNUmakefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/libstemmer/Makefile
diff -u pkgsrc/textproc/libstemmer/Makefile:1.4 pkgsrc/textproc/libstemmer/Makefile:1.5
--- pkgsrc/textproc/libstemmer/Makefile:1.4     Mon May 24 19:54:26 2021
+++ pkgsrc/textproc/libstemmer/Makefile Mon Apr 25 23:22:58 2022
@@ -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 @@ MAKE_FILE=    GNUmakefile
 
 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
Index: pkgsrc/textproc/libstemmer/distinfo
diff -u pkgsrc/textproc/libstemmer/distinfo:1.4 pkgsrc/textproc/libstemmer/distinfo:1.5
--- pkgsrc/textproc/libstemmer/distinfo:1.4     Tue Oct 26 11:22:17 2021
+++ pkgsrc/textproc/libstemmer/distinfo Mon Apr 25 23:22:58 2022
@@ -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

Index: pkgsrc/textproc/libstemmer/patches/patch-GNUmakefile
diff -u pkgsrc/textproc/libstemmer/patches/patch-GNUmakefile:1.2 pkgsrc/textproc/libstemmer/patches/patch-GNUmakefile:1.3
--- pkgsrc/textproc/libstemmer/patches/patch-GNUmakefile:1.2    Thu Feb 18 10:26:56 2021
+++ pkgsrc/textproc/libstemmer/patches/patch-GNUmakefile        Mon Apr 25 23:22:58 2022
@@ -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 @@ $NetBSD: patch-GNUmakefile,v 1.2 2021/02
        $(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