aboutsummaryrefslogtreecommitdiff
path: root/security/clamav-devel/files/patch-configure.in
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-06-28 18:58:07 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-06-28 18:58:07 +0000
commitd07f9a99c8fb56ae25690038f8e7da460f9c093b (patch)
tree88f4f43da04220ab8333e322cc1dac5148e083d9 /security/clamav-devel/files/patch-configure.in
parentd873ba09a4e55c35c1604946f237850397c55884 (diff)
downloadports-d07f9a99c8fb56ae25690038f8e7da460f9c093b.tar.gz
ports-d07f9a99c8fb56ae25690038f8e7da460f9c093b.zip
Notes
Diffstat (limited to 'security/clamav-devel/files/patch-configure.in')
-rw-r--r--security/clamav-devel/files/patch-configure.in25
1 files changed, 22 insertions, 3 deletions
diff --git a/security/clamav-devel/files/patch-configure.in b/security/clamav-devel/files/patch-configure.in
index cd63667cc63d..98f95c6f89ac 100644
--- a/security/clamav-devel/files/patch-configure.in
+++ b/security/clamav-devel/files/patch-configure.in
@@ -1,6 +1,25 @@
--- configure.in.orig Tue Jun 14 00:41:54 2005
-+++ configure.in Thu Jun 23 15:14:13 2005
-@@ -387,9 +387,6 @@
++++ configure.in Tue Jun 28 20:47:59 2005
+@@ -176,9 +176,15 @@
+ sendmailver_b=`echo $sendmailver | awk -F. '{printf $2}'`
+ sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
+
+- AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_A, $sendmailver_a, [major version of Sendmail])
+- AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_B, $sendmailver_b, [minor version of Sendmail])
+- AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_C, $sendmailver_c, [subversion of Sendmail])
++ if echo "$sendmailver_a" | egrep -q '^[0-9]+$'; then
++ AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_A, $sendmailver_a, [major version of Sendmail])
++ fi
++ if echo "$sendmailver_b" | egrep -q '^[0-9]+$'; then
++ AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_B, $sendmailver_b, [minor version of Sendmail])
++ fi
++ if echo "$sendmailver_c" | egrep -q '^[0-9]+$'; then
++ AC_DEFINE_UNQUOTED(SENDMAIL_VERSION_C, $sendmailver_c, [subversion of Sendmail])
++ fi
+
+ fi
+
+@@ -387,9 +393,6 @@
;;
freebsd*)
if test "$have_pthreads" = "yes"; then
@@ -10,7 +29,7 @@
TH_SAFE="-thread-safe"
AC_DEFINE(CL_THREAD_SAFE,1,[thread safe])
AC_DEFINE(_REENTRANT,1,[thread safe])
-@@ -732,7 +729,7 @@
+@@ -732,7 +735,7 @@
AC_ARG_ENABLE(gethostbyname_r,
[ --disable-gethostbyname_r disable support for gethostbyname_r],