[vlc-devel] [PATCH] contrib: ncurses: explicitly set PKG_CONFIG_LIBDIR
Sean McGovern
gseanmcg at gmail.com
Wed Aug 6 21:48:14 CEST 2014
---
contrib/src/ncurses/rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/ncurses/rules.mak b/contrib/src/ncurses/rules.mak
index 882e726..7b6d323 100644
--- a/contrib/src/ncurses/rules.mak
+++ b/contrib/src/ncurses/rules.mak
@@ -21,7 +21,7 @@ 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 $< && $(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"
--
1.8.5.2 (Apple Git-48)
More information about the vlc-devel
mailing list