Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit install pkg-config file for libedit
details: https://anonhg.NetBSD.org/src/rev/119443d24b1f
branches: trunk
changeset: 376498:119443d24b1f
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Jun 20 23:09:13 2023 +0000
description:
install pkg-config file for libedit
version number matches portable libedit
--cflags output matches portable libedit, since users probably want the
readline interface
diffstat:
distrib/sets/lists/comp/mi | 3 ++-
lib/libedit/Makefile | 8 +++++++-
lib/libedit/libedit.pc | 12 ++++++++++++
3 files changed, 21 insertions(+), 2 deletions(-)
diffs (55 lines):
diff -r 56b3268ab59f -r 119443d24b1f distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Tue Jun 20 22:17:18 2023 +0000
+++ b/distrib/sets/lists/comp/mi Tue Jun 20 23:09:13 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2432 2023/06/16 22:18:02 wiz Exp $
+# $NetBSD: mi,v 1.2433 2023/06/20 23:09:13 wiz Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -4283,6 +4283,7 @@
./usr/lib/pkgconfig/kyua-testers.pc comp-kyua-lib kyua,share
./usr/lib/pkgconfig/libarchive.pc comp-c-lib share
./usr/lib/pkgconfig/libcrypto.pc comp-crypto-lib share
+./usr/lib/pkgconfig/libedit.pc comp-c-lib
./usr/lib/pkgconfig/libfido2.pc comp-c-lib share
./usr/lib/pkgconfig/liblzma.pc comp-c-lib share
./usr/lib/pkgconfig/libssl.pc comp-crypto-lib share
diff -r 56b3268ab59f -r 119443d24b1f lib/libedit/Makefile
--- a/lib/libedit/Makefile Tue Jun 20 22:17:18 2023 +0000
+++ b/lib/libedit/Makefile Tue Jun 20 23:09:13 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2023/06/03 09:09:10 lukem Exp $
+# $NetBSD: Makefile,v 1.68 2023/06/20 23:09:14 wiz Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
USE_SHLIBDIR= yes
@@ -21,6 +21,12 @@ SRCS = chared.c chartype.c common.c el.c
MAN= editline.3 editrc.5 editline.7
+FILES+= libedit.pc
+FILESOWN_libedit.pc= ${BINOWN}
+FILESGRP_libedit.pc= ${BINGRP}
+FILESMODE_libedit.pc= ${NONBINMODE}
+FILESDIR_libedit.pc= /usr/lib/pkgconfig
+
MLINKS= \
editline.3 el_deletestr.3 \
editline.3 el_end.3 \
diff -r 56b3268ab59f -r 119443d24b1f lib/libedit/libedit.pc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libedit/libedit.pc Tue Jun 20 23:09:13 2023 +0000
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libedit
+Description: command line editor library providing generic line editing, history, and tokenization functions.
+Version: 3.1
+Requires:
+Libs: -Wl,-R${libdir} -L${libdir} -ledit
+Libs.private: -ltermcap
+Cflags: -I${includedir} -I${includedir}/editline
Home |
Main Index |
Thread Index |
Old Index