Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 22:11:34 -0500
From:      "Dan Langille" <dan@langille.org>
To:        ports@freebsd.org
Cc:        anton@urc.ac.ru
Subject:   security/drweb-sendmail : Malformed conditional  (${SENDMAIL_VERSION} == "8.11.1")
Message-ID:  <200201230311.g0N3BpD92183@lists.unixathome.org>

next in thread | raw e-mail | index | archive | help
There is a problem here.  I think it is environmental.  I get this eror on 

one machine but not another.

"Makefile", line 62: Malformed conditional (${SENDMAIL_VERSION} == 
"8.11.1")
"Makefile", line 62: Need an operator
"Makefile", line 65: if-less elif
"Makefile", line 65: Need an operator
"Makefile", line 68: if-less endif
"Makefile", line 68: Need an operator
make: fatal errors encountered -- cannot continue

[lists-test@gus:/extra/lists-test-ports/security/drweb-sendmail] $ head 
Makefile
# New ports collection makefile for:   drweb_sendmail
# Date created:        14 August 2001
# Whom:                Anton Voronin <anton@urc.ac.ru>
#
# $FreeBSD: ports/security/drweb-sendmail/Makefile,v 1.33 2002/01/04 
07:25:22 ache Exp $
#



The code in question is:

.if ${SENDMAIL_VERSION} == "8.11.1"
    ${CP} ${WITH_DRWEBSMF_SENDMAIL_DIR}/libmilter/listener.c 
${WRKSRC}/libmilter
    cd ${WRKSRC}/libmilter && ${PATCH} < ${WRKSRC}/../sendmail/listener-
8.11.1.patch
.elif ${SENDMAIL_VERSION} == "8.12.0"
    ${CP} ${WITH_DRWEBSMF_SENDMAIL_DIR}/libmilter/listener.c 
${WRKSRC}/libmilter
    cd ${WRKSRC}/libmilter && ${PATCH} < ${WRKSRC}/../sendmail/listener-
8.12.0.patch
.endif

cheers

-- 
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201230311.g0N3BpD92183>