[vlc-commits] contrib: install .pc file for ncursesw

Rafaël Carré git at videolan.org
Tue Sep 4 23:31:06 CEST 2012


vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Tue Sep  4 14:11:40 2012 +0200| [772848e811a9580e8fd702bcbf1ac70ae33bdf8e] | committer: Jean-Baptiste Kempf

contrib: install .pc file for ncursesw
(cherry picked from commit 8494d6cd31987e69dc623ed3557f653cfb1198c0)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=772848e811a9580e8fd702bcbf1ac70ae33bdf8e
---

 contrib/src/ncurses/rules.mak |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/src/ncurses/rules.mak b/contrib/src/ncurses/rules.mak
index 698165a..aa60b91 100644
--- a/contrib/src/ncurses/rules.mak
+++ b/contrib/src/ncurses/rules.mak
@@ -21,7 +21,8 @@ ncurses: ncurses-$(NCURSES_VERSION).tar.gz .sum-ncurses
 	$(MOVE)
 
 .ncurses: ncurses
-	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-debug --enable-widec --without-develop --without-shared --with-terminfo-dirs=/usr/share/terminfo
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-debug --enable-widec --without-develop --without-shared --with-terminfo-dirs=/usr/share/terminfo --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"
 	touch $@



More information about the vlc-commits mailing list