From eb8024ad63981e9ce0ca16489386d9670e3752cc Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Tue, 10 Jan 2023 09:41:42 -0800 Subject: [PATCH] invisible-island.net/ncurses: add legacy symlinks --- projects/invisible-island.net/ncurses/package.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/projects/invisible-island.net/ncurses/package.yml b/projects/invisible-island.net/ncurses/package.yml index a3120b24..6a4ad83b 100644 --- a/projects/invisible-island.net/ncurses/package.yml +++ b/projects/invisible-island.net/ncurses/package.yml @@ -15,6 +15,15 @@ build: mkdir -p $PCDIR ./configure $ARGS make --jobs {{ hw.concurrency }} install + + # fix up symlinks + cd {{prefix}}/lib + for lib in form menu ncurses panel curses++; do + for ii in $(find . -name lib${lib}w\*); do + # hopefully no new w's will be introduced + ln -s $ii $(echo $ii | tr -d w) + done + done env: PCDIR: ${{prefix}}/lib/pkgconfig ARGS: