summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-02-08 09:52:16 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-02-08 09:52:16 +0000
commitce68db70b44cb263dbb8bd83f20154752554d87f (patch)
tree3c34692d4142efb49aa5fb0f9d64a613f50c7ca2
parentgames-board/kboard: ~amd64 for dma147 (diff)
downloadgenstef-ce68db70b44cb263dbb8bd83f20154752554d87f.tar.gz
genstef-ce68db70b44cb263dbb8bd83f20154752554d87f.tar.bz2
genstef-ce68db70b44cb263dbb8bd83f20154752554d87f.zip
Add and keyword games-board/kboard
(Portage 2.1.20.5894-prefix/SVN/Darwin 8.8.1 i386) svn path=/; revision=97
-rw-r--r--games-board/kboard/kboard-0.9_alpha.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/games-board/kboard/kboard-0.9_alpha.ebuild b/games-board/kboard/kboard-0.9_alpha.ebuild
index d647825..bd41ba9 100644
--- a/games-board/kboard/kboard-0.9_alpha.ebuild
+++ b/games-board/kboard/kboard-0.9_alpha.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="prefix"
+
inherit games toolchain-funcs
MY_P="kboard-alpha-0.9b"
@@ -11,7 +13,7 @@ SRC_URI="mirror://sourceforge/kboard/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~x86-macos"
IUSE=""
DEPEND="=x11-libs/qt-4*
@@ -22,13 +24,15 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_compile() {
+ sed -i -e "s:execve.*::" src/crash.cpp
cmake \
-D CMAKE_CXX_COMPILER:FILEPATH="$(tc-getCXX)" \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
-D CMAKE_C_COMPILER:FILEPATH="$(tc-getCC)" \
-DCMAKE_C_FLAGS="${CFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" \
- -DDATA_INSTALL_DIR="${GAMES_DATADIR}" \
+ -DCMAKE_INSTALL_PREFIX="$EPREFIX${GAMES_PREFIX}" \
+ -DDATA_INSTALL_DIR="$EPREFIX${GAMES_DATADIR}" \
+ -DQT_PNG_LIBRARY=${EPREFIX}/usr/lib/libpng12.dylib \
. || die "ecmake failed"
emake || die "emake failed"
}
@@ -36,5 +40,5 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS BUGS CHANGELOG INSTALL README RELEASE TODO
- prepgamesdirs
+# prepgamesdirs
}