tech-pkg archive

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

Re: Renaming user-* packages



* On 2013-04-18 at 10:27 BST, OBATA Akio wrote:

> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/sysutils/user_cygwin/Makefile,v
> retrieving revision 1.4
> diff -u -r1.4 Makefile
> --- Makefile    13 Mar 2013 12:35:15 -0000      1.4
> +++ Makefile    18 Apr 2013 09:24:25 -0000
> @@ -23,4 +23,9 @@
>         ${INSTALL_SCRIPT} ${FILESDIR}/${f}.sh ${DESTDIR}${PREFIX}/sbin/${f}
>  .endfor
> 
> +.include "../../mk/bsd.prefs.mk"
> +.if empty(MACHINE_PLATFORM:M${ONLY_FOR_PLATFORM})
> +PKGNAME=       user-0
> +.endif
> +
>  .include "../../mk/bsd.pkg.mk"

Cute, but I don't like magic, I'd prefer we fixed this properly.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index