Void Linux discussion
 help / Atom feed
* [PATCH] ncurses: create non-widec ncurses pkg-config files
@ 2019-09-30 10:52 Quentin Rameau
  0 siblings, 0 replies; 1+ messages in thread
From: Quentin Rameau @ 2019-09-30 10:52 UTC (permalink / raw)
  To: Void Linux

---
 srcpkgs/ncurses/template | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/srcpkgs/ncurses/template b/srcpkgs/ncurses/template
index cd0790d131..ef479857f9 100644
--- a/srcpkgs/ncurses/template
+++ b/srcpkgs/ncurses/template
@@ -74,6 +74,12 @@ do_install() {
 	ln -sf libncursesw.a ${DESTDIR}/usr/lib/libcursesw.a
 	ln -sf libncurses.a ${DESTDIR}/usr/lib/libcurses.a
 
+	# Link non-widec pkgconfig files to widec ones
+	cd "${DESTDIR}/usr/lib/pkgconfig";
+	for f in *w.pc; do
+		ln -sf "${f}" "${f%w.pc}.pc"
+	done
+
 	# non-widec compatibility library
 	cd ${wrksrc}/ncurses-build
 	install -Dm755 lib/libncurses.so.${version} \
-- 
2.23.0

-- 
You received this message because you are subscribed to the Google Groups "voidlinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voidlinux+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/20190930105259.GA59403%40fifth.space.

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-30 10:52 [PATCH] ncurses: create non-widec ncurses pkg-config files Quentin Rameau

Void Linux discussion

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.voidlinux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox