Commit 09fc49ca authored by Sean McGovern's avatar Sean McGovern Committed by Jean-Baptiste Kempf

contrib: ncurses: explicitly set PKG_CONFIG_LIBDIR

ncurses' heavily-modified autoconfigury expects this to be present.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
(cherry picked from commit 05ceb797c3802add411249d7f0f0f9bbbba257a0)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 675da113
......@@ -21,8 +21,8 @@ ncurses: ncurses-$(NCURSES_VERSION).tar.gz .sum-ncurses
$(MOVE)
.ncurses: ncurses
cd $< && $(HOSTVARS) ./configure $(patsubst --datarootdir=%,,$(HOSTCONF)) --without-debug --enable-widec --without-develop --without-shared --with-terminfo-dirs=/usr/share/terminfo --enable-pc-files
cd $< && mkdir -p "$(PREFIX)/lib/pkgconfig" && $(HOSTVARS) PKG_CONFIG_LIBDIR="$(PREFIX)/lib/pkgconfig" ./configure $(patsubst --datarootdir=%,,$(HOSTCONF)) --without-debug --enable-widec --without-develop --without-shared --with-terminfo-dirs=/usr/share/terminfo --with-pkg-config=yes --enable-pc-files
cd $</ncurses && make -j1 && make install
cd $</include && make -j1 && make install
cd $</misc && make pc-files && mkdir -p "$(PREFIX)/lib/pkgconfig" && cp ncursesw.pc "$(PREFIX)/lib/pkgconfig"
cd $</misc && make pc-files && cp ncursesw.pc "$(PREFIX)/lib/pkgconfig"
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment