diff options
Diffstat (limited to 'games-board/kboard/kboard-0.9_alpha.ebuild')
-rw-r--r-- | games-board/kboard/kboard-0.9_alpha.ebuild | 12 |
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 } |