default_pre_build &&
UNPACKED_PC_SRC=no
if module_installed pcmcia-cs; then
    message "\n${MESSAGE_COLOR}The module pcmcia-cs is installed.\nAs a configured source tree is required for the build on will be replicated for the build.${DEFAULT_COLOR}\n"
    
    PC_DETAILS="$MOONBASE/`lvu where pcmcia-cs`/pcmcia-cs/DETAILS"
    PC_VER="`grep VERSION= $PC_DETAILS | sed s/^[[:space:]]*// | sed s/VERSION=//`"
    validate_source_dir $BUILD_DIRESTORY/pcmcia-cs-$PC_VER
    if [[ ! -d $BUILD_DIRECTORY/pcmcia-cs-$PC_VER ]] &&
       [[ $KEEP_SOURCE == "off" ]]; then
        mk_source_dir $BUILD_DIRECTORY/pcmcia-cs-$PC_VER
	unpack pcmcia-cs-$PC_VER.tar.gz
	UNPACKED_PC_SRC=yes
	CUR_PWD=`pwd`
	cd $BUILD_DIRECTORY/pcmcia-cs-$PC_VER
	AIRSNORT="`grep AIRSNORT= $DEPENDS_CONFIG/pcmcia-cs | sed s/AIRSNORT=// | sed 's/"//g'`"
	AIRSNORT_PATCH=`grep SOURCE2= $PC_DETAILS | sed s/^[[:space:]]*// | sed s/SOURCE2=//`
	if [ "$AIRSNORT" == "y" ]; then
	patch -p0 < $SOURCE_CACHE/$AIRSNORT_PATCH
	fi
	PC_OPTS="`grep OPTS= $DEPENDS_CONFIG/pcmcia-cs | sed s/OPTS=// | sed 's/"//g'`"
	./Configure -n --sysv --rcdir=/etc --srctree $PC_OPTS
	cd $CUR_PWD
    else
        message "\n${MESSAGE_COLOR}If you do not use KEEP_SOURCE then there may be a problem with pcmcia-cs on your system.${DEFAULT_COLOR}\n"
    fi
fi
