diff options
author | agc <agc> | 1998-02-13 15:09:35 +0000 |
---|---|---|
committer | agc <agc> | 1998-02-13 15:09:35 +0000 |
commit | fb95b7eae014a576f02b888d558a63e7a6317f60 (patch) | |
tree | dd3e14371ff0bb4de25c35edd749388c7e1ca391 /mail/qpopper | |
parent | a4f20485b83e311afd8bc36bf563751b42c1ff90 (diff) | |
download | pkgsrc-fb95b7eae014a576f02b888d558a63e7a6317f60.tar.gz |
Patch the configure script so that it doesn't search for the gdbm
header file or library. qpopper will use the standard 4.4 BSD DB
routines anyway, and qpopper's Makefile makes no attempt to include
the header file's directory, or link with the gdbm library directory.
Diffstat (limited to 'mail/qpopper')
-rw-r--r-- | mail/qpopper/patches/patch-af | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/mail/qpopper/patches/patch-af b/mail/qpopper/patches/patch-af index 0b918c5b105..ff60fd46537 100644 --- a/mail/qpopper/patches/patch-af +++ b/mail/qpopper/patches/patch-af @@ -13,3 +13,63 @@ ! #if defined (BSDI) || defined (__NetBSD__) #define BSD44_DBM #endif +--- configure 1998/02/13 14:20:41 1.1 ++++ configure 1998/02/13 14:21:09 +@@ -1415,7 +1415,6 @@ + netinet/in.h \ + maillock.h \ + ndbm.h \ +-gdbm.h \ + dbm.h \ + + do +@@ -1738,49 +1737,6 @@ + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + DBM_LIBS="-ldbm" +-else +- echo "$ac_t""no" 1>&6 +-fi +- +-echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 +-echo "configure:1747: checking for gdbm_open in -lgdbm" >&5 +-ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` +-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- ac_save_LIBS="$LIBS" +-LIBS="-lgdbm $LIBS" +-cat > conftest.$ac_ext <<EOF +-#line 1755 "configure" +-#include "confdefs.h" +-/* Override any gcc2 internal prototype to avoid an error. */ +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char gdbm_open(); +- +-int main() { +-gdbm_open() +-; return 0; } +-EOF +-if { (eval echo configure:1766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=yes" +-else +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=no" +-fi +-rm -f conftest* +-LIBS="$ac_save_LIBS" +- +-fi +-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then +- echo "$ac_t""yes" 1>&6 +- DBM_LIBS="-lgdbm" cat >> confdefs.h <<\EOF +-#define GDBM 1 +-EOF +- + else + echo "$ac_t""no" 1>&6 + fi |