Void Linux discussion
 help / color / mirror / Atom feed
* [PATCH] ncurses: create non-widec ncurses pkg-config files
@ 2019-09-30 10:52 Quentin Rameau
  0 siblings, 0 replies; only message 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} \

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] only message in thread

only message in thread, other threads:[~2019-09-30 10:53 UTC | newest]

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

This inbox may be cloned and mirrored by anyone:

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

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux voidlinux/ http://inbox.vuxu.org/voidlinux \
	public-inbox-index voidlinux

Example config snippet for mirrors.
Newsgroup available over NNTP:

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