From owner-freebsd-ports Tue Jan 22 19:11:57 2002 Delivered-To: freebsd-ports@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 1FB5C37B417 for ; Tue, 22 Jan 2002 19:11:54 -0800 (PST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g0N3BpD92183; Wed, 23 Jan 2002 16:11:51 +1300 (NZDT) (envelope-from dan@lists.unixathome.org) Message-Id: <200201230311.g0N3BpD92183@lists.unixathome.org> From: "Dan Langille" Organization: DVL Software Limited To: ports@freebsd.org Date: Tue, 22 Jan 2002 22:11:34 -0500 MIME-Version: 1.0 Subject: security/drweb-sendmail : Malformed conditional (${SENDMAIL_VERSION} == "8.11.1") Reply-To: dan@langille.org Cc: anton@urc.ac.ru X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 # # $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