Re: kern+world / ports make options

2010-04-25 Thread Ulrich Spörlein
On Sat, 24.04.2010 at 16:42:37 +, Pegasus Mc Cleaft wrote: > Hello Hackers & Current, > > I was wondering it if is possible, or if it can be done so a separate > set > of CC, CXX, etc can be specified for building the world and kernel > independently of a ports build? > > Righ

Re: [PATCH] RUSAGE_THREAD

2010-04-25 Thread Kostik Belousov
On Mon, Apr 19, 2010 at 12:46:48AM +, Alexander Krizhanovsky wrote: > Hi all! > > This patch implements per-thread rusage statistic (like RUSAGE_THREAD in > Linux and RUSAGE_LWP in OpenSolaris). > > Unfortunately, we have to acquire a number of locks to read/update > system and user times f

Re: kern+world / ports make options

2010-04-25 Thread Pegasus Mc Cleaft
On Sunday 25 April 2010 11:17:40 Ulrich Spörlein wrote: > On Sat, 24.04.2010 at 16:42:37 +, Pegasus Mc Cleaft wrote: > > It may already be implemented, but it would be nice if there was > > something defined while the kernel and/or world is being built to that a > > nested block of ifdefs c

unquoted variables in /usr/share/mk/*.mk

2010-04-25 Thread Alexander Best
hi there, i was wondering why almost all variables in /usr/share/mk/*.mk are unquoted? it's pretty obvious that something like mkdir "(test)" ; echo ".include " > "(test)"/Makefile ; make -C "(test)" cleandir will fail. -- Alexander Best ___ freebsd-

Re: regenerating /var/db/pkg

2010-04-25 Thread Doug Barton
FWIW, this looks fine to me. Have you submitted a PR? Doug On 04/22/10 10:05, Eitan Adler wrote: > Same as before - if all is good I'll send a PR > > #!/bin/sh > # > # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1 > 2009/10/25 01:10:29 kensmith Exp $ > # > > # If there is

Re: regenerating /var/db/pkg

2010-04-25 Thread Garrett Cooper
On Thu, Apr 22, 2010 at 10:05 AM, Eitan Adler wrote: > Same as before - if all is good I'll send a PR > > #!/bin/sh > # > # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1 > 2009/10/25 01:10:29 kensmith Exp $ > # > > # If there is a global system configuration file, suck it in.

Re: regenerating /var/db/pkg

2010-04-25 Thread Doug Barton
On 04/25/10 19:44, Garrett Cooper wrote: > On Thu, Apr 22, 2010 at 10:05 AM, Eitan Adler > wrote: >> Same as before - if all is good I'll send a PR >> >> #!/bin/sh >> # >> # $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1 >> 2009/10/25 01:10:29 kensmith Exp $ >> # >> >> # If th

Re: regenerating /var/db/pkg

2010-04-25 Thread Doug Barton
On 04/25/10 19:55, Doug Barton wrote: >>>if [ ! -d $db_loc ] > > I generally do quote the string as a matter of paranoia, however the > practical result is likely to be the same. ... unless it's possible that the path name will have spaces in it, which is the main reason for my paranoia.