mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 08:49:15 -04:00
picked upped. However, since there was bash-ism in the configure script, libpcre was not linked, correctly. As the result, the regex in our libc was used, but the header of PCRE was referred.
50 lines
1.6 KiB
Text
50 lines
1.6 KiB
Text
Index: configure
|
|
diff -u configure.orig configure
|
|
--- configure.orig 2010-11-26 14:08:32.950506060 +0900
|
|
+++ configure 2010-11-26 14:10:19.298911330 +0900
|
|
@@ -642,6 +642,7 @@
|
|
IMAP_COM_ERR_LIBS
|
|
LIB_RT
|
|
LIB_UCDSNMP
|
|
+LDFLAGS_UCDSNMP
|
|
SNMP_CONFIG
|
|
LIB_WRAP
|
|
SNMP_SUBDIRS
|
|
@@ -12402,7 +12403,7 @@
|
|
|
|
done
|
|
|
|
- if test "$ac_cv_header_pcreposix_h" == "yes"; then
|
|
+ if test "$ac_cv_header_pcreposix_h" = "yes"; then
|
|
LIBS="$LIBS -lpcre -lpcreposix";
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@@ -20173,7 +20174,7 @@
|
|
PERL_SUBDIRS="imap"
|
|
PERL="${with_perl}"
|
|
case "${target_os}" in
|
|
- linux*|netbsd*)
|
|
+ linux*|netbsd*|freebsd*)
|
|
{ $as_echo "$as_me:$LINENO: checking for perl cccdlflags needed on \"${target_os}\"" >&5
|
|
$as_echo_n "checking for perl cccdlflags needed on \"${target_os}\"... " >&6; }
|
|
eval `${PERL} -V:cccdlflags`
|
|
@@ -20749,7 +20750,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
|
|
@@ -21135,7 +21138,7 @@
|
|
#define HAVE_UCDSNMP 1
|
|
_ACEOF
|
|
|
|
- LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp"
|
|
+ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm -ldevstat -lwrap"
|
|
{ $as_echo "$as_me:$LINENO: checking for rpmdbOpen in -lrpm" >&5
|
|
$as_echo_n "checking for rpmdbOpen in -lrpm... " >&6; }
|
|
if test "${ac_cv_lib_rpm_rpmdbOpen+set}" = set; then
|