[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

current, WANT_LIBMILTER path problem?



With the acknowledgement that WANT_SMTPAUTH and WANT_MILTER
are experimental, that said I tried with current and wasn't
able to get past make obj.


Here is what I tried in /etc/mk.conf

#cat /etc/mk.conf

BSDSRCDIR?=             /usr/src    # path to the source code

.if ${.CURDIR} == ${BSDSRCDIR}/gnu/usr.sbin/sendmail/sendmail
SUBDIR:=                libmilter ${SUBDIR}
.endif

.if ${.CURDIR} == ${BSDSRCDIR}/gnu/usr.sbin/sendmail/sendmail
WANT_LIBMILTER=         1
ENVDEF+=                -DMILTER
CPPFLAGS+=              -pthread
LDFLAGS+=               -pthread
.endif

.if ${.CURDIR} == ${BSDSRCDIR}/gnu/usr.sbin/sendmail/sendmail
WANT_SMTPAUTH=         1
.endif



and did the rm -rf /usr/obj/*

and with a fresh cvs checkout of current src to be sure,

I get this:


===> gnu/usr.sbin/sendmail
===> gnu/usr.sbin/sendmail/libsmutil
/usr/src/gnu/usr.sbin/sendmail/libsmutil/obj ->
/usr/obj/gnu/usr.sbin/sendmail/libsmutil
===> gnu/usr.sbin/sendmail/libsmdb
/usr/src/gnu/usr.sbin/sendmail/libsmdb/obj ->
/usr/obj/gnu/usr.sbin/sendmail/libsmdb
===> gnu/usr.sbin/sendmail/libsm
/usr/src/gnu/usr.sbin/sendmail/libsm/obj ->
/usr/obj/gnu/usr.sbin/sendmail/libsm
===> gnu/usr.sbin/sendmail/sendmail
/usr/src/gnu/usr.sbin/sendmail/sendmail/obj ->
/usr/obj/gnu/usr.sbin/sendmail/sendmail
===> gnu/usr.sbin/sendmail/sendmail/libmilter
/bin/sh: cd: /usr/src/gnu/usr.sbin/sendmail/sendmail/libmilter - No such
file or directory
*** Error code 1

Stop in /usr/src/gnu/usr.sbin/sendmail/sendmail (line 58 of
/usr/share/mk/bsd.obj.mk).
*** Error code 1

Stop in /usr/src/gnu/usr.sbin/sendmail.
*** Error code 1

Stop in /usr/src/gnu/usr.sbin.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.