summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-02-23 22:17:01 +0000
committerjperkin <jperkin@pkgsrc.org>2013-02-23 22:17:01 +0000
commitf580e2d83f14a91d7d1ab028bebf2a0bfd2cb9d4 (patch)
treea081d653d87b0e2cd2b2931fa5a102e6fbb35143 /textproc
parent0a9cca188376e96cede3ff7957c1855f654a6ab6 (diff)
downloadpkgsrc-f580e2d83f14a91d7d1ab028bebf2a0bfd2cb9d4.tar.gz
Don't use -export-symbols-regex, it breaks non-GNU linkers and results in the
wrong SONAME being set, in this case to '../librarian/.libs/librarian.so'. Fixes a number of packages and PR#37842. Bump PKGREVISION, binary package needs to be updated.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rarian/Makefile4
-rw-r--r--textproc/rarian/distinfo3
-rw-r--r--textproc/rarian/patches/patch-librarian_Makefile.in15
3 files changed, 19 insertions, 3 deletions
diff --git a/textproc/rarian/Makefile b/textproc/rarian/Makefile
index face7253b7b..420d279e519 100644
--- a/textproc/rarian/Makefile
+++ b/textproc/rarian/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2012/10/25 06:56:53 asau Exp $
+# $NetBSD: Makefile,v 1.11 2013/02/23 22:17:01 jperkin Exp $
#
DISTNAME= rarian-0.8.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://rarian.freedesktop.org/Releases/
MASTER_SITES+= ${MASTER_SITE_GNOME:=sources/rarian/0.8/}
diff --git a/textproc/rarian/distinfo b/textproc/rarian/distinfo
index c47a7d140be..0676c265e2c 100644
--- a/textproc/rarian/distinfo
+++ b/textproc/rarian/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2008/09/06 15:23:10 wiz Exp $
+$NetBSD: distinfo,v 1.4 2013/02/23 22:17:01 jperkin Exp $
SHA1 (rarian-0.8.1.tar.bz2) = 9b3f1bad1cdbb0de51d6f74431b20eb3647edc5a
RMD160 (rarian-0.8.1.tar.bz2) = 2e4c0a4d22a4e0c41d4d3dc8e4a5ad080ee3b6ce
Size (rarian-0.8.1.tar.bz2) = 324441 bytes
SHA1 (patch-aa) = a5b9892ccd1977c10a155435be25dbbde49bae40
+SHA1 (patch-librarian_Makefile.in) = 0f41cbaacd43a8f3358671dc9604a1092b7ba971
diff --git a/textproc/rarian/patches/patch-librarian_Makefile.in b/textproc/rarian/patches/patch-librarian_Makefile.in
new file mode 100644
index 00000000000..a002e123f60
--- /dev/null
+++ b/textproc/rarian/patches/patch-librarian_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-librarian_Makefile.in,v 1.1 2013/02/23 22:17:02 jperkin Exp $
+
+Don't use -export-symbols-regex, it breaks non-GNU linkers.
+
+--- librarian/Makefile.in.orig 2008-09-01 18:44:56.000000000 +0000
++++ librarian/Makefile.in
+@@ -239,7 +239,7 @@ librarian_la_SOURCES = rarian.h rarian-m
+ rarian-language.h rarian-utils.h rarian-utils.c rarian-info.h \
+ rarian-info.c rarian-man.c rarian-man.h $(am__append_1)
+ librarian_la_CFLAGS = -DDATADIR=\""$(datadir)"\" -DSYSCONFDIR=\""$(sysconfdir)"\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE
+-librarian_la_LDFLAGS = -export-symbols-regex "^rrn_.*"
++librarian_la_LDFLAGS =
+ all: all-am
+
+ .SUFFIXES: