Commit 675da113 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

contrib: ncurses: configure doesn't understand --datarootdir

(cherry picked from commit 4568719e6018e9633d9cdb263bb67c03d18910e3)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e2a4b90f
...@@ -21,7 +21,7 @@ ncurses: ncurses-$(NCURSES_VERSION).tar.gz .sum-ncurses ...@@ -21,7 +21,7 @@ ncurses: ncurses-$(NCURSES_VERSION).tar.gz .sum-ncurses
$(MOVE) $(MOVE)
.ncurses: ncurses .ncurses: ncurses
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-debug --enable-widec --without-develop --without-shared --with-terminfo-dirs=/usr/share/terminfo --enable-pc-files cd $< && $(HOSTVARS) ./configure $(patsubst --datarootdir=%,,$(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 $</ncurses && make -j1 && make install
cd $</include && 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 && mkdir -p "$(PREFIX)/lib/pkgconfig" && cp ncursesw.pc "$(PREFIX)/lib/pkgconfig"
......
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