ports/122574: mail/kbiff never build with ssl support
Sven Herschke
shersch at incore.de
Tue Apr 8 15:20:01 UTC 2008
>Number: 122574
>Category: ports
>Synopsis: mail/kbiff never build with ssl support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 08 15:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Sven Herschke
>Release: 6.2
>Organization:
>Environment:
FreeBSD 6.2-RELEASE-p1 i386
>Description:
Configure script from port mail/kbiff has following twice and incorrect ssl check between line 25470 and line 25505:
# Check whether --enable-ssl or --disable-ssl was given.
if test "${enable_ssl+set}" = set; then
enableval="$enable_ssl"
use_ssl=$enableval
else
use_ssl=yes
fi;
if test "$use_ssl" == "yes"; then
cat >>confdefs.h <<\_ACEOF
#define USE_SSL
_ACEOF
fi
# Check whether --enable-ssl or --disable-ssl was given.
if test "${enable_ssl+set}" = set; then
enableval="$enable_ssl"
use_ssl=$enableval
else
use_ssl=yes
fi;
if test "$use_ssl" == "yes"; then
cat >>confdefs.h <<\_ACEOF
#define USE_SSL
_ACEOF
fi
The syntax error is in following code:
if test "$use_ssl" == "yes"; then
String comparsion with test only needs one equals sign.
>How-To-Repeat:
>Fix:
Remove twice code and change line
if test "$use_ssl" == "yes"; then
to
if test "$use_ssl" = "yes"; then
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list