summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-04-29 12:59:33 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-04-29 12:59:33 +0000
commit017096df4847a93e23cf1ceab8ddfcac0b17983b (patch)
tree9ad433710e045d8fc8d6e007b473c38eae765059
parentRemove empty dirs (diff)
downloadgenstef-017096df4847a93e23cf1ceab8ddfcac0b17983b.tar.gz
genstef-017096df4847a93e23cf1ceab8ddfcac0b17983b.tar.bz2
genstef-017096df4847a93e23cf1ceab8ddfcac0b17983b.zip
revert wrong commit
svn path=/; revision=104
-rw-r--r--games-board/kboard/kboard-0.9_alpha.ebuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/games-board/kboard/kboard-0.9_alpha.ebuild b/games-board/kboard/kboard-0.9_alpha.ebuild
index bd41ba9..d647825 100644
--- a/games-board/kboard/kboard-0.9_alpha.ebuild
+++ b/games-board/kboard/kboard-0.9_alpha.ebuild
@@ -2,8 +2,6 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="prefix"
-
inherit games toolchain-funcs
MY_P="kboard-alpha-0.9b"
@@ -13,7 +11,7 @@ SRC_URI="mirror://sourceforge/kboard/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-macos"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="=x11-libs/qt-4*
@@ -24,15 +22,13 @@ 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="$EPREFIX${GAMES_PREFIX}" \
- -DDATA_INSTALL_DIR="$EPREFIX${GAMES_DATADIR}" \
- -DQT_PNG_LIBRARY=${EPREFIX}/usr/lib/libpng12.dylib \
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" \
+ -DDATA_INSTALL_DIR="${GAMES_DATADIR}" \
. || die "ecmake failed"
emake || die "emake failed"
}
@@ -40,5 +36,5 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS BUGS CHANGELOG INSTALL README RELEASE TODO
-# prepgamesdirs
+ prepgamesdirs
}