I try to build an ebuild for using wine with CVS. I looked into an older
version of winex-cvs and took over what I thought is needed. When I try to
"compile" it with this commandline
ebuild /usr/local/portage/app-emulation/wine-cvs/wine-cvs.ebuild digest
I get an error
!!! Error: PF is null; exiting.

I looked on the website from gentoo and I found a description of what PF
means, but there PF is listed as the user should only read this. Now I wonder
what I do wrong and how to fix this.

The ebuild looks like this:
----------------------------------

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/home/cvsroot/gentoo-x86/dev-games/crystalspace-cvs/crystalspace-cvs-0.97.ebuild,v 1.8 
2003/12/10 05:32:55 mr_bones_ Exp $

ECVS_USER="cvs"
ECVS_PASS="cvs"
ECVS_SERVER="cvs.winehq.com:/home/wine"
ECVS_MODULE="wine"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
S=${WORKDIR}/${ECVS_MODULE}

inherit cvs

DESCRIPTION="Windows WIN32 API emulation for running MS-Windows software natively in 
Linux"
SRC_URI=""
HOMEPAGE="http://www.winehq.com/";

SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="~x86 ~ppc"

#DEPEND=">=media-libs/libpng-1.2.1

newdepend "sys-devel/gcc
        sys-devel/flex
        dev-util/yacc
        >=media-libs/freetype-2.0.0
        X? (    virtual/x11 
                dev-lang/tcl 
                dev-lang/tk ) 
        opengl? ( virtual/opengl )
        cups? ( net-print/cups )"
#       !>=sys-libs/glibc-2.3.2"



WINE_PREFIX=/opt/wine

src_unpack() {
        if ! [ -z "`perl -V:archname 2> /dev/null | grep 'thread-multi'`" ]
        then
                eerror "Sorry - can't build winex against threaded perl!"
                eerror "Please remerge perl and libperl WITHOUT 'USE=threads'"
                die "Not compatible with threaded perl"
        fi
        cvs_src_unpack
}

src_compile() {
        ./configure --prefix=${WINE_PREFIX} || die
        emake all || die
}

src_install() {
        dodir ${WINE_PREFIX}
        make INSTALL_DIR=${D}/${WINE_PREFIX} install || die
#       dodir /usr/bin
#       dosym ${WINE_PREFIX}/bin/cs-config /usr/bin/cs-config
#       find ${D}/${WINE_PREFIX} -type f -exec chmod a+r '{}' \;
#       find ${D}/${WINE_PREFIX} -type d -exec chmod a+rx '{}' \;
#       chmod a+rx ${D}/${WINE_PREFIX}/{bin,lib}/*
#       dodir /etc/env.d
#       echo "WINE=\"${WINE_PREFIX}\"" > ${D}/etc/env.d/90crystalspace
}
-- 
Gerhard Gruber
Maintainer of
SoftICE for Linux - http://sourceforge.net/projects/pice
Fast application launcher - http://sourceforge.net/projects/launchmenu

--
[EMAIL PROTECTED] mailing list

Reply via email to