* [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} \
--
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] 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).