Void Linux discussion
 help / color / Atom feed
From: Quentin Rameau <quinq@fifth.space>
To: Void Linux <voidlinux@googlegroups.com>
Subject: [PATCH] ncurses: create non-widec ncurses pkg-config files
Date: Mon, 30 Sep 2019 12:52:59 +0200
Message-ID: <20190930105259.GA59403@fifth.space> (raw)

---
 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.

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190930105259.GA59403@fifth.space \
    --to=quinq@fifth.space \
    --cc=voidlinux@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Void Linux discussion

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

Example config snippet for mirrors

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


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