Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 01:30:14 +0600 (YEKST)
From:      Anton Voronin <anton@urc.ac.ru>
To:        Brian Dean <bsd@bsdhome.com>
Cc:        <ports@freebsd.org>
Subject:   Re: Problem with your drweb_sendmail port
Message-ID:  <Pine.BSF.4.31.0109180126140.3190-100000@rnocserv.urc.ac.ru>
In-Reply-To: <20010916100555.A72712@neutrino.bsdhome.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> Hi,
>
> On a system without a populated /usr/src, I get the following with
> your drweb-sendmail port:
>
>   [root@vger]:/drweb-sendmail- pwd
>   /usr/ports/security/drweb-sendmail
>   [root@vger]:/drweb-sendmail- grep '$FreeBSD:' Makefile
>   # $FreeBSD: ports/security/drweb-sendmail/Makefile,v 1.13 2001/08/31 03:59:43 ache Exp $
>   [root@vger]:/drweb-sendmail- make clean
>   "Makefile", line 53: Malformed conditional (${SENDMAIL_VERSION} == "8.11.1")
>   "Makefile", line 53: Need an operator
>   "Makefile", line 57: if-less endif
>   "Makefile", line 57: Need an operator
>   make: fatal errors encountered -- cannot continue
>   [root@vger]:/drweb-sendmail- ls /usr/src/contrib/sendmail
>   ls: /usr/src/contrib/sendmail: No such file or directory
>   [root@vger]:/drweb-sendmail-
>
> You seem to have logic in your Makefile to bail if /usr/src is not
> populated.  However, I can't seem to spot the actual error in the
> Makefile.  Any ideas?

This small patch fixes the problem:

--- Makefile.ORIG	Sat Aug 25 21:20:52 2001
+++ Makefile	Tue Sep 18 01:24:08 2001
@@ -49,7 +49,7 @@
 pre-build:
 	${MKDIR} ${WRKSRC}/libmilter
 	${CP} ${FILESDIR}/Makefile ${WRKSRC}/libmilter
-.if ${SENDMAIL_VERSION} == "8.11.1"
+.if exists( ${MF_INCDIR}/mfapi.h ) && ${SENDMAIL_VERSION} == "8.11.1"
 	${CP} ${SENDMAIL_DIR}/libmilter/listener.c ${WRKSRC}/libmilter
 	${LN} -s ${SENDMAIL_DIR}/libmilter/libmilter.h ${WRKSRC}/libmilter
 	cd ${WRKSRC}/libmilter && ${PATCH} < ${WRKSRC}/../sendmail/listener.patch


>
> -Brian
> --
> Brian Dean
> bsd@FreeBSD.org
> bsd@bsdhome.com
>
Best regards,
	Anton

Anton Voronin
Ural Regional Center of FREEnet,
Southern Ural State University, Chelyabinsk, Russia
WWW: http://rnoc.urc.ac.ru/~anton
On Sun, 16 Sep 2001, Brian Dean wrote:



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?Pine.BSF.4.31.0109180126140.3190-100000>