All pastes #559118 Raw Edit

Something

public text v1 · immutable
·published 2007-06-11 17:10 UTC
rendered paste body
//////////// the ebuild: ////////////////

$ cat /var/portage/local/games-strategy/8Kingdoms/8Kingdoms-1.0.0.ebuild
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $

inherit eutils toolchain-funcs flag-o-matic games

DESCRIPTION="Eight kingdoms"
HOMEPAGE="http://kralovstvi.sourceforge.net/"

SRC_URI="http://kent.dl.sourceforge.net/sourceforge/kralovstvi/8Kingdoms-${PV}.tar.gz"

LICENSE="GNU General Public License (GPL)"
IUSE=""
KEYWORDS="~x86 ~amd64"
RESTRICT="strip nomirror"

DEPEND="media-libs/libsdl
    media-libs/sdl-mixer
    dev-libs/expat
    dev-tcltk/tcllib"

//////////// it failts at compile time: ////////////////////

if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -march=athlon64 -pipe -msse3 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_OPENGL -MT diplomacy.o -MD -MP -MF ".deps/diplomacy.Tpo" -c -o diplomacy.o `test -f 'ai/Diplomacy/diplomacy.cpp' || echo './'`ai/Diplomacy/diplomacy.cpp; \
        then mv -f ".deps/diplomacy.Tpo" ".deps/diplomacy.Po"; else rm -f ".deps/diplomacy.Tpo"; exit 1; fi
ai/PathFind/pathfindtransciever.cpp: In member function 'void ai_ns::pathfind_ns::CPathFindTransciever::initTransciever()':
ai/PathFind/pathfindtransciever.cpp:25: error: 'PATHFIND_MSG_HANDLER' was not declared in this scope
make[1]: *** [pathfindtransciever.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/games-strategy/8Kingdoms-1.0.0/work/8Kingdoms-1.0.0'
make: *** [all] Error 2