diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-07-04 17:38:52 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-07-04 17:38:52 +0000 |
commit | ddc4918fb46b5875ef2cade4ae7b83ea1c3f61d0 (patch) | |
tree | 7e2108875c9d356fee99440f61fbefb8a2f971b3 /security/clamav-devel/files | |
parent | 7e11fae320973ecd5bc72ee293b12b0c14e49a65 (diff) | |
download | ports-ddc4918fb46b5875ef2cade4ae7b83ea1c3f61d0.tar.gz ports-ddc4918fb46b5875ef2cade4ae7b83ea1c3f61d0.zip |
Notes
Diffstat (limited to 'security/clamav-devel/files')
-rw-r--r-- | security/clamav-devel/files/patch-configure.in | 47 |
1 files changed, 19 insertions, 28 deletions
diff --git a/security/clamav-devel/files/patch-configure.in b/security/clamav-devel/files/patch-configure.in index 98f95c6f89ac..04970df2970f 100644 --- a/security/clamav-devel/files/patch-configure.in +++ b/security/clamav-devel/files/patch-configure.in @@ -1,25 +1,25 @@ ---- configure.in.orig Tue Jun 14 00:41:54 2005 -+++ 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 +--- configure.in.orig Mon Jul 4 10:18:26 2005 ++++ configure.in Mon Jul 4 10:21:50 2005 +@@ -178,9 +178,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 fi -@@ -387,9 +393,6 @@ +@@ -389,9 +395,6 @@ ;; freebsd*) if test "$have_pthreads" = "yes"; then @@ -29,12 +29,3 @@ TH_SAFE="-thread-safe" AC_DEFINE(CL_THREAD_SAFE,1,[thread safe]) AC_DEFINE(_REENTRANT,1,[thread safe]) -@@ -732,7 +735,7 @@ - - AC_ARG_ENABLE(gethostbyname_r, - [ --disable-gethostbyname_r disable support for gethostbyname_r], --disable_gethostbyname_r=$enableval,) -+test $enableval = yes && disable_gethostbyname_r=no || disable_gethostbyname_r=yes,) - - if test "$disable_gethostbyname_r" = "yes"; then - AC_MSG_RESULT(support disabled) |