From 24cac5b9833c000af09b0a3fa39786749e546b3b Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 26 Mar 2011 00:32:40 +0100 Subject: [PATCH] ncurses: improved to generate and install .pc files for pkg-config if possible --- base/ncurses/ncurses.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base/ncurses/ncurses.conf b/base/ncurses/ncurses.conf index 49afa7f57..b293a8371 100644 --- a/base/ncurses/ncurses.conf +++ b/base/ncurses/ncurses.conf @@ -177,4 +177,9 @@ else else hook_add postmake 6 "make_termcap_symlinks" fi + + # generate and install .pc files for pkg-config + if pkginstalled pkgconfig; then + var_append extraconfopt " " "--enable-pc-files" + fi fi