diff options
author | Sven 'sleipnir' Rebhan <odinshorse@googlemail.com> | 2009-04-02 07:25:50 +0000 |
---|---|---|
committer | Sven 'sleipnir' Rebhan <odinshorse@googlemail.com> | 2009-04-02 07:25:50 +0000 |
commit | 9145462a44a257ecdc152cb12139492909a66b44 (patch) | |
tree | 20ac1fc53be0a6b7ddaeb592eadcac33265948ff /portage-flags-host | |
parent | Remove old version and unnecessary patches. (diff) | |
download | embedded-cross-9145462a44a257ecdc152cb12139492909a66b44.tar.gz embedded-cross-9145462a44a257ecdc152cb12139492909a66b44.tar.bz2 embedded-cross-9145462a44a257ecdc152cb12139492909a66b44.zip |
Make dialog cross-compile by hacking around ncurses-config.
Diffstat (limited to 'portage-flags-host')
-rw-r--r-- | portage-flags-host/arm-linux-gnueabi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/portage-flags-host/arm-linux-gnueabi b/portage-flags-host/arm-linux-gnueabi index 75d1395..e7e6bb1 100644 --- a/portage-flags-host/arm-linux-gnueabi +++ b/portage-flags-host/arm-linux-gnueabi @@ -113,3 +113,12 @@ ac_cv_alignof_CORBA_wchar=2 # urandom ac_cv_file___dev_urandom_=yes + +# ncurses +if test -n "$(which ncurses6-config 2>/dev/null)"; then + ac_cv_path_NCURSES_CONFIG="$(which ncurses6-config) --prefix=${ROOT}/usr --exec-prefix=${ROOT}/usr" +else + if test -n "$(which ncurses5-config 2>/dev/null)"; then + ac_cv_path_NCURSES_CONFIG="$(which ncurses5-config) --prefix=${ROOT}/usr --exec-prefix=${ROOT}/usr" + fi +fi |