mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
6dee7aadd2
- Use -lthr to build clamav since it has problems with libpthread - Bump PORTREVISION of dependant ports, libclamav version was bumped - Fix clamcour to build with clamav-0.90.x using patch sent by maintainer
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
--- configure.orig Thu Mar 1 20:46:19 2007
|
|
+++ configure Tue Mar 13 10:28:27 2007
|
|
@@ -22431,19 +22431,25 @@
|
|
sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
|
|
|
|
|
|
+if echo "$sendmailver_a" | egrep -q '^[0-9]+$'; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
#define SENDMAIL_VERSION_A $sendmailver_a
|
|
_ACEOF
|
|
+fi
|
|
|
|
|
|
+if echo "$sendmailver_b" | egrep -q '^[0-9]+$'; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
#define SENDMAIL_VERSION_B $sendmailver_b
|
|
_ACEOF
|
|
+fi
|
|
|
|
|
|
+if echo "$sendmailver_c" | egrep -q '^[0-9]+$'; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
#define SENDMAIL_VERSION_C $sendmailver_c
|
|
_ACEOF
|
|
+fi
|
|
|
|
fi
|
|
fi
|
|
@@ -23087,7 +23093,7 @@
|
|
;;
|
|
freebsd*)
|
|
if test "$have_pthreads" = "yes"; then
|
|
- THREAD_LIBS="-pthread -lc_r"
|
|
+ THREAD_LIBS="%%PTHREAD_LIBS%%"
|
|
TH_SAFE="-thread-safe"
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@@ -23427,7 +23433,7 @@
|
|
if test "$have_milter" = "yes"; then
|
|
|
|
save_LDFLAGS="$LDFLAGS"
|
|
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
|
|
+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS %%PTHREAD_LIBS%%"
|
|
if test -d /usr/lib/libmilter ; then
|
|
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
|
|
fi
|