makonnen> I would like to be able to continue doing everything short of
makonnen> install as a regular user. Is it really necessary to require root
makonnen> privs to buildworld?

Agreed.  I haven't been able to come up with a way to convince make to
adjust the destination path according to the source path.  Given this
subset of rules from /usr/src/etc/sendmail/Makefile:

.SUFFIXES:      .mc .cf         ${M4FILES}
        ${RM} ${.TARGET}
        (cd ${.CURDIR} && \
            ${M4} -D_CF_DIR_=${CFDIR}/ ${SENDMAIL_M4_FLAGS} \
                ${CFDIR}/m4/cf.m4 ${@:R}.mc) > ${.TARGET}
        ${CHMOD} ${ROMODE} ${.TARGET}

SENDMAIL_MC=    /etc/mail/



Currently, /etc/mail/ and /usr/local/etc/ will be built.
I'd prefer /usr/obj/usr/src/etc/sendmail/etc/mail/ and
/usr/obj/usr/src/etc/sendmail/usr/local/etc/ be created during
buildworld and installed to /etc/mail/ and /usr/local/etc/ respectively
during installworld.  (See /usr/src/etc/sendmail/Makefile for install

Any Makefile gurus out there who can help?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to