summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-04-18 12:39:52 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-04-18 12:39:52 +0000
commit4ab730b5a90525d284e90748ba0430a0d9158f59 (patch)
treeb86c1c633b2d8e71b904f8017c68c8edfba626f9 /games-puzzle/ksudoku
parentVersion bump wrt bug #172176 (diff)
downloadgentoo-2-4ab730b5a90525d284e90748ba0430a0d9158f59.tar.gz
gentoo-2-4ab730b5a90525d284e90748ba0430a0d9158f59.tar.bz2
gentoo-2-4ab730b5a90525d284e90748ba0430a0d9158f59.zip
Filter as-needed as it breaks nicely
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-puzzle/ksudoku')
-rw-r--r--games-puzzle/ksudoku/ChangeLog6
-rw-r--r--games-puzzle/ksudoku/files/digest-ksudoku-0.33
-rw-r--r--games-puzzle/ksudoku/ksudoku-0.3.ebuild16
-rw-r--r--games-puzzle/ksudoku/ksudoku-0.4.ebuild27
4 files changed, 20 insertions, 32 deletions
diff --git a/games-puzzle/ksudoku/ChangeLog b/games-puzzle/ksudoku/ChangeLog
index cd30533d00ad..eed3c15fe080 100644
--- a/games-puzzle/ksudoku/ChangeLog
+++ b/games-puzzle/ksudoku/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/ksudoku
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ksudoku/ChangeLog,v 1.5 2007/04/18 12:32:48 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ksudoku/ChangeLog,v 1.6 2007/04/18 12:39:52 jokey Exp $
+
+ 18 Apr 2007; Markus Ullmann <jokey@gentoo.org> -ksudoku-0.3.ebuild,
+ ksudoku-0.4.ebuild:
+ Filter as-needed as it breaks nicely
*ksudoku-0.4 (18 Apr 2007)
diff --git a/games-puzzle/ksudoku/files/digest-ksudoku-0.3 b/games-puzzle/ksudoku/files/digest-ksudoku-0.3
deleted file mode 100644
index 4ce97c2330d7..000000000000
--- a/games-puzzle/ksudoku/files/digest-ksudoku-0.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 d5fe20e9deda671dd15340f43ab4c4a3 ksudoku-0.3.tar.gz 704694
-RMD160 a20f1896951c1594dac1b1f8582dbc7e5e9ec99e ksudoku-0.3.tar.gz 704694
-SHA256 18f95cb383a7d313f907eff6a1f23e0cf66627d901cbbb8488c521851c3f2cca ksudoku-0.3.tar.gz 704694
diff --git a/games-puzzle/ksudoku/ksudoku-0.3.ebuild b/games-puzzle/ksudoku/ksudoku-0.3.ebuild
deleted file mode 100644
index 0e55f65693ee..000000000000
--- a/games-puzzle/ksudoku/ksudoku-0.3.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ksudoku/ksudoku-0.3.ebuild,v 1.3 2006/08/19 09:16:28 dertobi123 Exp $
-
-inherit kde
-
-DESCRIPTION="Sudoku Puzzle Generator and Solver for KDE"
-HOMEPAGE="http://ksudoku.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-need-kde 3.3
diff --git a/games-puzzle/ksudoku/ksudoku-0.4.ebuild b/games-puzzle/ksudoku/ksudoku-0.4.ebuild
index 8c211fc9b59f..7c51aeb710cd 100644
--- a/games-puzzle/ksudoku/ksudoku-0.4.ebuild
+++ b/games-puzzle/ksudoku/ksudoku-0.4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ksudoku/ksudoku-0.4.ebuild,v 1.1 2007/04/18 12:32:48 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ksudoku/ksudoku-0.4.ebuild,v 1.2 2007/04/18 12:39:52 jokey Exp $
-inherit kde
+inherit flag-o-matic kde
DESCRIPTION="Sudoku Puzzle Generator and Solver for KDE"
HOMEPAGE="http://ksudoku.sourceforge.net/"
@@ -26,18 +26,21 @@ src_unpack() {
}
src_compile() {
+ elog "Filter as-needed"
+ filter-ldflags "--as-needed" "-Wl,--as-needed"
+
cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \
- -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \
- -DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \
- -DLIB_INSTALL_DIR=/usr/$(get_libdir) \
- || die
-
- emake || die
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \
+ -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \
+ -DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \
+ -DLIB_INSTALL_DIR=/usr/$(get_libdir) \
+ || die "cmake failed"
+
+ emake || die "emake failed"
}
src_install() {
- emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die "emake install failed"
}