Source-Changes archive

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

Re: CVS commit: src/etc



Christian Limpach wrote:
> are you building with an objdir?  because even with your change, builds
> are still broken:
> distribution does install-etc-files with pwd = ${.CURDIR}
> INSTALL_FILE won't find MAKEDEV since MAKEDEV is in ${.OBJDIR}

Aah, joy of being first item using OBJDIR in src/etc :)
 
> It works after applying the following patch:
> 
> Index: etc/Makefile
> ===================================================================
> RCS file: /cvs/netbsd/src/etc/Makefile,v
> retrieving revision 1.260
> diff -u -r1.260 Makefile
> --- etc/Makefile      26 Oct 2003 07:25:34 -0000      1.260
> +++ etc/Makefile      26 Oct 2003 18:39:57 -0000
> @@ -117,7 +117,7 @@
>  ETC_PKG=-T etc_pkg
>  BASE_PKG=-T base_pkg
>  ETC_INSTALL_FILE=cd ${.CURDIR} && ${INSTALL_FILE} ${ETC_PKG}
> -ETC_INSTALL_OBJ_FILE=             ${INSTALL_FILE} ${ETC_PKG}
> +ETC_INSTALL_OBJ_FILE=cd ${.OBJDIR} && ${INSTALL_FILE} ${ETC_PKG}
>  ETC_INSTALL_LINK=cd ${.CURDIR} && ${INSTALL_LINK} ${ETC_PKG}
>  ETC_INSTALL_SYMLINK=cd ${.CURDIR} && ${INSTALL_SYMLINK} ${ETC_PKG}

This seems fine AFAICS, tho I didn't actually test this. If it
works for you, feel free to commit this fix.

Jaromir 
-- 
Jaromir Dolecek <jdolecek%NetBSD.org@localhost>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-



Home | Main Index | Thread Index | Old Index