From: Gerhard W. Gruber <sparhawk@gmx.at>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] PF is null when trying to ebuild custom ebuild
Date: Fri, 09 Jan 2004 09:41:39 +0100 [thread overview]
Message-ID: <k7qsvvsa113o497jn322mjg54rd7a0cv1m@4ax.com> (raw)
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
--
gentoo-dev@gentoo.org mailing list
next reply other threads:[~2004-01-09 8:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-09 8:41 Gerhard W. Gruber [this message]
2004-01-09 10:38 ` [gentoo-dev] PF is null when trying to ebuild custom ebuild Seemant Kulleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=k7qsvvsa113o497jn322mjg54rd7a0cv1m@4ax.com \
--to=sparhawk@gmx.at \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox