diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-05 10:56:35 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-05 10:56:35 +0000 |
commit | 1fe7f7a32d1381fbc1fe2677c32fcf97c6e816aa (patch) | |
tree | fe5d9777f6a9ae47a110b3f7a655916e7d8d7292 /games-misc/bsd-games/bsd-games-2.17-r4.ebuild | |
parent | Version bump (diff) | |
download | historical-1fe7f7a32d1381fbc1fe2677c32fcf97c6e816aa.tar.gz historical-1fe7f7a32d1381fbc1fe2677c32fcf97c6e816aa.tar.bz2 historical-1fe7f7a32d1381fbc1fe2677c32fcf97c6e816aa.zip |
Use pkg-config to query Libs: from ncurses.pc (for eg. -ltinfo) wrt #459652 by Diego Elio Pettenò
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'games-misc/bsd-games/bsd-games-2.17-r4.ebuild')
-rw-r--r-- | games-misc/bsd-games/bsd-games-2.17-r4.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/games-misc/bsd-games/bsd-games-2.17-r4.ebuild b/games-misc/bsd-games/bsd-games-2.17-r4.ebuild index b7012f78ac1e..740f23d9578a 100644 --- a/games-misc/bsd-games/bsd-games-2.17-r4.ebuild +++ b/games-misc/bsd-games/bsd-games-2.17-r4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r4.ebuild,v 1.12 2010/10/19 15:55:33 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r4.ebuild,v 1.13 2013/03/05 10:56:31 ssuominen Exp $ EAPI=2 -inherit eutils games +inherit eutils toolchain-funcs games DEB_PATCH_VER=16 DESCRIPTION="collection of games from NetBSD" @@ -24,7 +24,8 @@ RDEPEND="!games-misc/wtf sys-apps/miscfiles" DEPEND="${RDEPEND} sys-devel/flex - sys-devel/bison" + sys-devel/bison + virtual/pkgconfig" # Set GAMES_TO_BUILD variable to whatever you want export GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure arithmetic atc @@ -41,6 +42,11 @@ src_prepare() { "${FILESDIR}"/${P}-bg.patch \ "${FILESDIR}"/${P}-gcc4.patch \ "${FILESDIR}"/${P}-glibc2.10.patch + + # Use pkg-config to query Libs: from ncurses.pc (for eg. -ltinfo) wrt #459652 + sed -i \ + -e "/ncurses_lib/s:-lncurses:'$($(tc-getPKG_CONFIG) --libs-only-l ncurses)':" \ + configure || die sed -i \ -e "s:/usr/games:${GAMES_BINDIR}:" \ |