pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xapian Add rpath to an output of xapian-confi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9facc4f0618c
branches:  trunk
changeset: 396700:9facc4f0618c
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Jun 07 13:37:39 2019 +0000

description:
Add rpath to an output of xapian-config --libs, bump PKGREVISION

diffstat:

 textproc/xapian/Makefile                       |   9 ++++++++-
 textproc/xapian/distinfo                       |   3 ++-
 textproc/xapian/patches/patch-xapian-config.in |  15 +++++++++++++++
 3 files changed, 25 insertions(+), 2 deletions(-)

diffs (59 lines):

diff -r edb66942d57f -r 9facc4f0618c textproc/xapian/Makefile
--- a/textproc/xapian/Makefile  Fri Jun 07 12:20:32 2019 +0000
+++ b/textproc/xapian/Makefile  Fri Jun 07 13:37:39 2019 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.34 2018/08/26 13:25:33 schmonz Exp $
+# $NetBSD: Makefile,v 1.35 2019/06/07 13:37:39 ryoon Exp $
 
 .include "../../textproc/xapian/Makefile.common"
 
 DISTNAME=              xapian-core-${VERSION}
 PKGNAME=               ${DISTNAME:S/-core-/-/}
+PKGREVISION=           1
 
 HOMEPAGE=              https://xapian.org/
 COMMENT=               Probabilistic Information Retrieval search engine
@@ -12,5 +13,11 @@
 
 LDFLAGS.SunOS+=                -lsocket -lnsl
 
+SUBST_CLASSES+=                rpath
+SUBST_STAGE.rpath=     pre-configure
+SUBST_MESSAGE.rpath=   Include rpath to xapian-config
+SUBST_FILES.rpath=     xapian-config.in
+SUBST_VARS.rpath=      COMPILER_RPATH_FLAG
+
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r edb66942d57f -r 9facc4f0618c textproc/xapian/distinfo
--- a/textproc/xapian/distinfo  Fri Jun 07 12:20:32 2019 +0000
+++ b/textproc/xapian/distinfo  Fri Jun 07 13:37:39 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.34 2019/03/04 01:38:00 schmonz Exp $
+$NetBSD: distinfo,v 1.35 2019/06/07 13:37:39 ryoon Exp $
 
 SHA1 (xapian-core-1.4.11.tar.xz) = c1e452e4dc59351a72214ae24cf2b7a6c10fc9ef
 RMD160 (xapian-core-1.4.11.tar.xz) = 8e14120ebb8ea4b09e1e71ea784051577bb8daa9
 SHA512 (xapian-core-1.4.11.tar.xz) = 72ab7b0c774390f38319d241689b2dc3c2837fbbf933616574f6ad167f14a25c2eff747910022065508dc7c44f806dc2b71dae80a1b4f1f47e1675fb951bc785
 Size (xapian-core-1.4.11.tar.xz) = 2975524 bytes
 SHA1 (patch-common_safesyssocket.h) = 032d441853914d510bc285bb682a98c4ee264d52
+SHA1 (patch-xapian-config.in) = 470d1de7f04b8b8817abbcf56b5b71a36948de97
diff -r edb66942d57f -r 9facc4f0618c textproc/xapian/patches/patch-xapian-config.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xapian/patches/patch-xapian-config.in    Fri Jun 07 13:37:39 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-xapian-config.in,v 1.1 2019/06/07 13:37:39 ryoon Exp $
+
+* Include rpath to --libs output
+
+--- xapian-config.in.orig      2019-03-02 01:45:31.000000000 +0000
++++ xapian-config.in
+@@ -105,7 +105,7 @@ set_F_to_extra_ldflags() {
+ # -L option required (if any).
+ set_L_to_library_path() {
+     L=
+-    [ /usr/lib != "@libdir@" ] && L="-L@libdir@ "
++    [ /usr/lib != "@libdir@" ] && L="-L@libdir@ @COMPILER_RPATH_FLAG@@libdir@ "
+ }
+ 
+ set_I() {



Home | Main Index | Thread Index | Old Index