浏览代码

try to resolve build problems by leveraging ncurses

Ralf S. Engelschall 19 年之前
父节点
当前提交
6506daa3ee
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      minicom/minicom.spec

+ 5 - 1
minicom/minicom.spec

@@ -38,7 +38,7 @@ Class:        BASE
 Group:        Communication
 License:      BSD
 Version:      %{V_major}%{V_minor}
-Release:      20061013
+Release:      20061016
 
 #   list of sources
 Source0:      http://alioth.debian.org/download.php/%{V_subdir}/minicom-%{V_major}-%{V_minor}.tar.gz
@@ -49,6 +49,8 @@ Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 20040130, lrzsz, make
 PreReq:       OpenPKG, openpkg >= 20040130, lrzsz
+BuildPreReq:  ncurses
+PreReq:       ncurses
 AutoReq:      no
 AutoReqProv:  no
 
@@ -90,6 +92,8 @@ AutoReqProv:  no
     #   configure sources
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
+    CPPFLAGS="%{l_cppflags ncurses .}" \
+    LDFLAGS="%{l_ldflags}" \
     ./configure \
         --prefix=%{l_prefix} \
         --sysconfdir=%{l_prefix}/etc/minicom \