mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
a86c2cd961
This is possibly the last release of the 2.2 series. The 2.2 code is now in maintenance mode only, and all new development is taking place on the 2.3 code.
66 lines
3.4 KiB
Plaintext
66 lines
3.4 KiB
Plaintext
Index: configure
|
|
diff -u configure.orig configure
|
|
--- configure.orig Sat Apr 1 00:25:50 2006
|
|
+++ configure Sat Apr 1 01:08:23 2006
|
|
@@ -310,6 +310,7 @@
|
|
#endif"
|
|
|
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os MAKEDEPEND cyrus_prefix service_path cyrus_user cyrus_group CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP AWK LIBOBJS LIB_SOCKET IPV6_OBJS PRE_SUBDIRS EXTRA_SUBDIRS DEPLIBS LOCALDEFS BDB_INC BDB_LIB CYRUSDB_OBJS SIEVE_OBJS SIEVE_LIBS SIEVE_CPPFLAGS YACC LEX LEXLIB LEX_OUTPUT_ROOT SIEVE_SUBDIRS WITH_NONBLOCK WITH_GMTOFF WITH_MAP WITH_LOCK cyrus_sigveclib AFS_LIBS AFS_LDFLAGS LDAP_CPPFLAGS LDAP_LDFLAGS LDAP_LIBS SERVER_SUBDIRS OPENSSL_INC OPENSSL_LIB ZEPHYR_LIBS ZEPHYR_CPPFLAGS WITH_IDLE IMAP_PROGS COMPILE_ET COM_ERR_LIBS COM_ERR_LDFLAGS COM_ERR_CPPFLAGS LIB_CRYPT GSSAPI_LIBS GSSAPIBASE_LIBS LIB_DYN_SASL DYNSASLFLAGS LIB_SASL SASLFLAGS PERL PERL_CCCDLFLAGS MD5OBJ SNMP_SUBDIRS CMU_LIB_SUBDIR LIB_WRAP SNMP_CONFIG LIB_UCDSNMP LIB_RT IMAP_COM_ERR_LIBS IMAP_LIBS PERL_SUBDIRS PERL_DEPSUBDIRS LTLIBOBJS'
|
|
+ac_subst_vars="${ac_subst_vars} LDFLAGS_UCDSNMP"
|
|
ac_subst_files=''
|
|
|
|
# Initialize some variables set by options.
|
|
@@ -7701,7 +7702,7 @@
|
|
fi
|
|
|
|
saved_LIBS=$LIBS
|
|
- for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
|
|
+ for dbname in ${with_bdb} db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
|
|
do
|
|
LIBS="$saved_LIBS -l$dbname"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
@@ -7710,6 +7711,7 @@
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
+#include <stdio.h>
|
|
#include <db.h>
|
|
int
|
|
main ()
|
|
@@ -15337,6 +15339,7 @@
|
|
EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl"
|
|
PERL_SUBDIRS="imap"
|
|
PERL="${with_perl}"
|
|
+ eval `${PERL} -V:cccdlflags`
|
|
PERL_CCCDLFLAGS="$cccdlflags"
|
|
|
|
fi
|
|
@@ -16357,7 +16360,9 @@
|
|
|
|
if test -n "$SNMP_LIBS" && test -n "$SNMP_PREFIX"; then
|
|
CPPFLAGS="$CPPFLAGS -I${SNMP_PREFIX}/include"
|
|
- LIB_UCDSNMP=$SNMP_LIBS
|
|
+ LIB_UCDSNMP="$SNMP_LIBS -lwrap"
|
|
+ PERLLIBDIR=`$PERL -e 'use Config; print "$Config{archlibexp}/CORE";'`
|
|
+ LDFLAGS_UCDSNMP="-L${PERLLIBDIR} -R${PERLLIBDIR}"
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define HAVE_NETSNMP 1
|
|
@@ -16606,7 +16611,7 @@
|
|
#define HAVE_UCDSNMP 1
|
|
_ACEOF
|
|
|
|
- LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp"
|
|
+ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm -ldevstat -lwrap"
|
|
echo "$as_me:$LINENO: checking for rpmdbOpen in -lrpm" >&5
|
|
echo $ECHO_N "checking for rpmdbOpen in -lrpm... $ECHO_C" >&6
|
|
if test "${ac_cv_lib_rpm_rpmdbOpen+set}" = set; then
|
|
@@ -17432,6 +17437,7 @@
|
|
s,@LIB_WRAP@,$LIB_WRAP,;t t
|
|
s,@SNMP_CONFIG@,$SNMP_CONFIG,;t t
|
|
s,@LIB_UCDSNMP@,$LIB_UCDSNMP,;t t
|
|
+s,@LDFLAGS_UCDSNMP@,$LDFLAGS_UCDSNMP,;t t
|
|
s,@LIB_RT@,$LIB_RT,;t t
|
|
s,@IMAP_COM_ERR_LIBS@,$IMAP_COM_ERR_LIBS,;t t
|
|
s,@IMAP_LIBS@,$IMAP_LIBS,;t t
|