Parcourir la source

fix building under Debian 2.2; use own Perl

Ralf S. Engelschall il y a 23 ans
Parent
commit
a2de1c902f
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6 2
      suck/suck.spec

+ 6 - 2
suck/suck.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
 Group:        Converter
 License:      GPL
 Version:      4.3.1
-Release:      20020925
+Release:      20030113
 
 #   list of sources
 Source0:      http://www.sucknews.org/suck-%{version}.tar.gz
@@ -41,7 +41,7 @@ Source0:      http://www.sucknews.org/suck-%{version}.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, gcc
+BuildPreReq:  OpenPKG, openpkg >= 20020206, gcc, gdbm, perl
 PreReq:       OpenPKG, openpkg >= 20020206
 AutoReq:      no
 AutoReqProv:  no
@@ -58,9 +58,13 @@ AutoReqProv:  no
     %{l_shtool} subst -e 's;strnstr;disable_strnstr;g' killfile.c
 
 %build
+    echo "ac_cv_lib_ndbm_main=no" >config.cache
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
+    CPPFLAGS="%{l_cppflags}" \
+    LDFLAGS="%{l_ldflags}" \
     ./configure \
+        --cache-file=./config.cache \
         --prefix=%{l_prefix}
     %{l_make} %{l_mflags}