pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/readline Add pkgconf .pc files to PLIST for pack...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e204424107c
branches:  trunk
changeset: 389557:5e204424107c
user:      sekiya <sekiya%pkgsrc.org@localhost>
date:      Tue Dec 06 05:34:06 2022 +0000

description:
Add pkgconf .pc files to PLIST for packages that rely on pkgconf

Adjust readline.pc so that it does not depend on a pkgconf-aware termlib.

diffstat:

 devel/readline/Makefile         |   5 +++--
 devel/readline/PLIST            |   4 +++-
 devel/readline/distinfo         |   3 ++-
 devel/readline/patches/patch-ai |  10 ++++++++++
 4 files changed, 18 insertions(+), 4 deletions(-)

diffs (68 lines):

diff -r 75206c614eb4 -r 5e204424107c devel/readline/Makefile
--- a/devel/readline/Makefile   Tue Dec 06 01:45:17 2022 +0000
+++ b/devel/readline/Makefile   Tue Dec 06 05:34:06 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.72 2022/10/03 12:45:34 wiz Exp $
+# $NetBSD: Makefile,v 1.73 2022/12/06 05:34:06 sekiya Exp $
 
 READLINE_VERSION=      8.2
+PKGREVISION=   1
 
 DISTNAME=      readline-${READLINE_VERSION}
 CATEGORIES=    devel
@@ -22,7 +23,7 @@
 .endif
 
 BUILD_TARGET=          everything-libtool
-INSTALL_TARGET=                install-libtool
+INSTALL_TARGET=                install-libtool install-pc
 
 .include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 75206c614eb4 -r 5e204424107c devel/readline/PLIST
--- a/devel/readline/PLIST      Tue Dec 06 01:45:17 2022 +0000
+++ b/devel/readline/PLIST      Tue Dec 06 05:34:06 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2014/03/12 10:04:50 wiz Exp $
+@comment $NetBSD: PLIST,v 1.10 2022/12/06 05:34:06 sekiya Exp $
 include/readline/chardefs.h
 include/readline/history.h
 include/readline/keymaps.h
@@ -12,6 +12,8 @@
 info/rluserman.info
 lib/libhistory.la
 lib/libreadline.la
+lib/pkgconfig/history.pc
+lib/pkgconfig/readline.pc
 man/man3/history.3
 man/man3/readline.3
 share/doc/readline/CHANGES
diff -r 75206c614eb4 -r 5e204424107c devel/readline/distinfo
--- a/devel/readline/distinfo   Tue Dec 06 01:45:17 2022 +0000
+++ b/devel/readline/distinfo   Tue Dec 06 05:34:06 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2022/10/03 12:45:34 wiz Exp $
+$NetBSD: distinfo,v 1.37 2022/12/06 05:34:06 sekiya Exp $
 
 BLAKE2s (readline-8.2.tar.gz) = 680d2c3d7ce2de64a7e3a72adc5021e564f29af270d48781b0669b3e075f55e8
 SHA512 (readline-8.2.tar.gz) = 0a451d459146bfdeecc9cdd94bda6a6416d3e93abd80885a40b334312f16eb890f8618a27ca26868cebbddf1224983e631b1cbc002c1a4d1cd0d65fba9fea49a
@@ -6,4 +6,5 @@
 SHA1 (patch-ae) = ea0d02a1975696ff51c4b1dd34d62a97d990a6b9
 SHA1 (patch-ag) = 3114e6959dfff3e2aae74c3df3ba4b0f692b79bb
 SHA1 (patch-ah) = d812ea068415939beb42c72dd9bed8d210db57d1
+SHA1 (patch-ai) = 92600d64a9184e7b3b0ee31c3e7fccb115e3343d
 SHA1 (patch-examples_Makefile.in) = 12bdbc3a0d1a116bed96c66ef4d25273b071fd3c
diff -r 75206c614eb4 -r 5e204424107c devel/readline/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/readline/patches/patch-ai   Tue Dec 06 05:34:06 2022 +0000
@@ -0,0 +1,10 @@
+--- readline.pc.in~     2022-12-06 14:19:31.133661175 +0900
++++ readline.pc.in      2022-12-06 14:20:52.293041763 +0900
+@@ -7,6 +7,5 @@
+ Description: Gnu Readline library for command line editing
+ URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
+ Version: @LIBVERSION@
+-Requires.private: @TERMCAP_PKG_CONFIG_LIB@
+-Libs: -L${libdir} -lreadline
++Libs: -L${libdir} -lreadline @TERMCAP_LIB@
+ Cflags: -I${includedir}



Home | Main Index | Thread Index | Old Index