Explorar el Código

Reluctantly add our ncurses as a dependency, since a foreign copy is getting picked up by autoconf anyways

Michael Schloh von Bennewitz hace 23 años
padre
commit
fdc71ff19a
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4 3
      ddd/ddd.spec

+ 4 - 3
ddd/ddd.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Development
 License:      GPL
 Version:      3.3.1
-Release:      20030131
+Release:      20030224
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/ddd/ddd-%{version}.tar.gz
@@ -42,7 +42,7 @@ Patch0:       ddd.patch
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20030103, x11, gcc, lesstif, xpm, readline
+BuildPreReq:  OpenPKG, openpkg >= 20030103, x11, gcc, MOTIF, xpm, readline, ncurses
 PreReq:       OpenPKG, openpkg >= 20030103, x11, xterm
 AutoReq:      no
 AutoReqProv:  no
@@ -68,7 +68,7 @@ AutoReqProv:  no
     CXX="%{l_cxx}" \
     CFLAGS="%{l_cflags -O}" \
     CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated" \
-    CPPFLAGS="%{l_cppflags}" \
+    CPPFLAGS="%{l_cppflags ncurses}" \
     LDFLAGS="%{l_ldflags}" \
     ./configure \
         --cache-file=./config.cache \
@@ -78,6 +78,7 @@ AutoReqProv:  no
         --with-xpm-includes=%{l_prefix} \
         --with-motif-includes=%{l_prefix} \
         --with-motif-libraries=%{l_prefix} \
+        --with-ncurses-libraries=%{l_prefix} \
         --with-readline-libraries=%{l_prefix}
     %{l_make} %{l_mflags -O}