diff options
| author | wiz <wiz@NetBSD.org> | 2023-06-20 23:09:13 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2023-06-20 23:09:13 +0000 |
| commit | d61d45c7c968c0bada722a4214a46c116c867479 (patch) | |
| tree | 018fb19cc7505159398be18377c3fcdb8f7652b9 /lib | |
| parent | 7d9a085c9de2fb26f7660369a74e423a0f136d0c (diff) | |
install pkg-config file for libedit
version number matches portable libedit
--cflags output matches portable libedit, since users probably want the
readline interface
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libedit/Makefile | 8 | ||||
| -rw-r--r-- | lib/libedit/libedit.pc | 12 |
2 files changed, 19 insertions, 1 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index 48372c8ce00..cc6db8dfb31 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -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 eln.c emacs.c filecomplete.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 --git a/lib/libedit/libedit.pc b/lib/libedit/libedit.pc new file mode 100644 index 00000000000..68f9ed47373 --- /dev/null +++ b/lib/libedit/libedit.pc @@ -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 |
