platforms/unix/config/mktargets

e.g. find platforms -name .svn -print -o \( -type f \) -exec grep -H disabledPlugins {} \; | fgrep -v .svn

which is useful enough to wrap up in a script (which I link to $HOME/bin/findsvn $HOME/bin/findgit & $HOME/bin/findcvs, etc.

#!/bin/sh
#IFS=<tab><nl>
IFS='
'
DIR=.svn
case $0 in
*git)   DIR=.git;;
*cvs)   DIR=CVS;;
esac
DIRS=
while [ -n "$1" -a -d "$1" ]; do
        DIRS="$DIRS     $1"
        shift
done
find ${DIRS:-.} -name $DIR -prune -o \( "$@" \) | grep -v /$DIR

On Tue, Jul 20, 2010 at 1:29 AM, Frank Shearar <frank.shearar@angband.za.org> wrote:

When I check out and build the latest VM on FreeBSD, disabledPlugins.c contains some duplicated definitions (reported in an earlier mail).

I tried to find what generates that file in VMMaker, and failed. I've tried grepping the contents of the mcz, and can't find any mention of "disabled".

(But as long as I say --without-npsqueak, and remove the offending duplications from disabledPlugins.c, the Cog VM compiled on FreeBSD!)

frank