diff options
-rw-r--r-- | games-board/kboard/kboard-0.9_alpha.ebuild | 12 |
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 } |