mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-haskell/wxc: drop old
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST wxc-0.92.2.0.tar.gz 203065 BLAKE2B 3f873b3bbc50e5fa7690f2f05a25ab360260d90523dd0b9c016f5dfeea99e9a59fe4848de520d642d2cea52dbadfd69aa31671f521243240488d643d4554e880 SHA512 e6fba1be94978603965b8902fad9326772b5483d5df621d5245f1fae97d85bcb1aff4565f1e8396de23c854050151c5e009e34a1ea29c3037057599ac0412bcd
|
||||
DIST wxc-0.92.3.0.tar.gz 203597 BLAKE2B e73745fe17747c1abb79cdb2e7ecadee1f286abd34d1ccfbc2bb53d729fbab4dc60ab054af07f75cae9aa67e83ae794ea23f3f00decd39f69b93a5a56726d9d2 SHA512 60f34e316a4dfa4951e18d99d24508d36806f8a9d0bf05485904b03622ebda138b7a93a7477a2a107007d40e8cadbe51200322507054f65bd0b720545b414b37
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.7.9999
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
CABAL_FEATURES="lib profile"
|
||||
inherit haskell-cabal multilib versionator wxwidgets
|
||||
|
||||
DESCRIPTION="wxHaskell C++ wrapper"
|
||||
HOMEPAGE="https://wiki.haskell.org/WxHaskell"
|
||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3.1"
|
||||
SLOT="${WX_GTK_VER}/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">dev-haskell/split-0:=[profile?]
|
||||
>=dev-haskell/wxdirect-0.90.1.1:${WX_GTK_VER}=[profile?]
|
||||
x11-libs/wxGTK:${WX_GTK_VER}=[X,gstreamer,opengl]
|
||||
>=dev-lang/ghc-7.6.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.16.0
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s@\"wx-config\"@\"${WX_CONFIG}\"@g" \
|
||||
-i "${S}/Setup.hs" || die "Could not specify wx-config in Setup.hs"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local cgcc=()
|
||||
for i in ${CXXFLAGS}
|
||||
do
|
||||
cgcc+=( --gcc-option="${i}" )
|
||||
done
|
||||
# Trying to specify the LDFLAGS in --ld-option does not work, as ld does
|
||||
# not understand ld options prefixed with -Wl,
|
||||
# The linker that is used to link the libwxc.so shared library is hard coded
|
||||
# in Setup.hs. So the --with-ld would not change the linker used when
|
||||
# linking libwxc.so. --with-ld="gcc" does not help, as then cabal passes
|
||||
# ld options like -x to gcc which then returns a non-zero exit status, then
|
||||
# cabal ignores all the --ld-option parameters.
|
||||
# So I place all the LDFLAGS in --gcc-option parameters. They are ignored
|
||||
# when building .o files.
|
||||
local cld=()
|
||||
for i in ${LDFLAGS}
|
||||
do
|
||||
cld+=( --gcc-option="${i}" )
|
||||
done
|
||||
cabal_src_configure ${cgcc[*]} ${cld[*]} --verbose=3
|
||||
}
|
||||
Reference in New Issue
Block a user