public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] PF is null when trying to ebuild custom ebuild
@ 2004-01-09  8:41 Gerhard W. Gruber
  2004-01-09 10:38 ` Seemant Kulleen
  0 siblings, 1 reply; 2+ messages in thread
From: Gerhard W. Gruber @ 2004-01-09  8:41 UTC (permalink / raw
  To: gentoo-dev

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] PF is null when trying to ebuild custom ebuild
  2004-01-09  8:41 [gentoo-dev] PF is null when trying to ebuild custom ebuild Gerhard W. Gruber
@ 2004-01-09 10:38 ` Seemant Kulleen
  0 siblings, 0 replies; 2+ messages in thread
From: Seemant Kulleen @ 2004-01-09 10:38 UTC (permalink / raw
  To: Gerhard W.Gruber; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

PF=$PN-$PV

which means, package-full = packagename-packageversion

Guess which one you're missing in the ebuild's name :P
-- 
Seemant Kulleen
Developer and Project Co-ordinator,
Gentoo Linux					http://dev.gentoo.org/~seemant

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3458780E
Key fingerprint = 23A9 7CB5 9BBB 4F8D 549B 6593 EDA2 65D8 3458 780E


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-09 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09  8:41 [gentoo-dev] PF is null when trying to ebuild custom ebuild Gerhard W. Gruber
2004-01-09 10:38 ` Seemant Kulleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox