Date: Thu, 23 Mar 2006 10:06:07 -0500 From: DAve <dave.list@pixelhammer.com> To: freebsd-questions@freebsd.org Subject: Re: Sendmail patch Message-ID: <4422B95F.8070504@pixelhammer.com> In-Reply-To: <20060322215534.8C53243D48@mx1.FreeBSD.org> References: <20060322215534.8C53243D48@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Bertrand wrote:
>>> bash-2.05b# uname -a
>>> FreeBSD web6.tls.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE
>> #0: Mon Feb
>>> 23
>>> 20:45:55 GMT 2004
>>> root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
>>>
>>> I did,
>>> bash-2.05b# cvsup standard-supfile
>>> bash-2.05b# cd /usr/src
>>> bash-2.05b# patch < /path/to/patch
>>> bash-2.05b# cd /usr/src/lib/libsm
>>> bash-2.05b# make obj && make depend && make
>>>
>>> and I get this,
>>> bash-2.05b# make
>>> "/usr/src/lib/libsm/Makefile", line 11: Malformed conditional
>>> (${MK_INET6_SUPPORT} != "no")
>> "/usr/src/lib/libsm/Makefile", line 13:
>>> if-less endif "/usr/src/lib/libsm/Makefile", line 13: Need
>> an operator
>>> make: fatal errors encountered -- cannot continue
>>>
>>> I used the patch for 4.11 and 5.3
>>>
>>> Anyone got any ideas?
>>>
>>> DAve
>> That's two servers with the same error. My 4.X server did
>> just fine, as did my 5.4 servers. All my toasters run qmail,
>> so of eleven servers, these two are all I have left to do.
>>
>> The Makefile looks fine, I'm missing something obvious here.
>> Google comes up empty handed.
>
> I don't know if it will help or not, but following is the entire
> /usr/src/lib/libsm/Makefile from:
The issue is make fails on the test at line 13 which is the test for
INET6. I can comment out the test and the next makefile fails for the
same reason, on other tests.
Your Makefile reads,
.if !defined(NO_INET6)
CFLAGS+=-DNETINET6
.endif
My Makefile reads,
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DNETINET6
.endif
My 4.8 Makfile does not have the INET6 test.
I've never seen this before, kinda odd. Maybe it's because I updated
source, but I am only building sendmail. I had to update my source
because the supplied patch fails against FBSD 5.2.1. If I gotta build
world or something silly to fix this I'd just as soon start over with
5.4 or another MTA.
It just really seems like a simple make issue to me.
DAve
>
> imap# uname -a
> FreeBSD imap.eagle.ca 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #0: Wed Mar
> 8 09:39:13 EST 2006
>
>
> --- start file ---
>
> # $FreeBSD: src/lib/libsm/Makefile,v 1.9 2005/06/07 04:18:25 gshapiro
> Exp $
>
> SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
> .PATH: ${SENDMAIL_DIR}/libsm
>
> CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
> CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
>
> .if !defined(NO_INET6)
> CFLAGS+=-DNETINET6
> .endif
>
> # User customizations to the sendmail build environment
> CFLAGS+=${SENDMAIL_CFLAGS}
>
> LIB= sm
>
>
> SRCS+= sm_os.h
>
> SRCS+= assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \
>
> strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c \
>
> fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c \
>
> fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c \
>
> fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c \
>
> smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c \
>
> vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c \
>
> wbuf.c wsetup.c string.c stringf.c \
>
> xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c \
>
> signal.c clock.c config.c sem.c shm.c mbdb.c strexit.c cf.c
> ldap.c \
> niprop.c mpeix.c
>
> CLEANFILES+=sm_os.h
>
> INTERNALLIB=
>
> sm_os.h:
> ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h
>
> .include <bsd.lib.mk>
>
> --- end file ---
>
>> DAve
>>
>>
>> --
>> This message was checked by forty monkeys and found to not
>> contain any SPAM whatsoever.
>>
>> Your monkeys may vary
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.
Your monkeys may vary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4422B95F.8070504>
