#!/bin/sh

for PACKAGE in * ; do
    if ! test -d "$PACKAGE" ; then
	continue
    fi
    cd $PACKAGE
    if ! test -f $PACKAGE-pkg-buildrequires.patch ; then
	if test -f _link ; then
	    pkg-buildrequirize
	fi
    fi
    cd -
done
