diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-30 15:24:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-30 15:24:40 +0100 |
commit | 31459e63971ac3b08706bba949851d93c45043c3 (patch) | |
tree | f50f9db11363f1369a1aead733baccaf2842b673 /media-radio/ibp/ibp-0.21-r2.ebuild | |
parent | eba9b95ba8976f2938bafa5789c1b50611bb3459 (diff) |
gentoo auto-resync : 30:09:2022 - 15:24:40
Diffstat (limited to 'media-radio/ibp/ibp-0.21-r2.ebuild')
-rw-r--r-- | media-radio/ibp/ibp-0.21-r2.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/media-radio/ibp/ibp-0.21-r2.ebuild b/media-radio/ibp/ibp-0.21-r2.ebuild index 4495eec2cb8d..3a9d39772a5e 100644 --- a/media-radio/ibp/ibp-0.21-r2.ebuild +++ b/media-radio/ibp/ibp-0.21-r2.ebuild @@ -18,22 +18,28 @@ RDEPEND="sys-libs/ncurses:0= X? ( x11-libs/libX11 )" DEPEND="${RDEPEND} X? ( >=x11-misc/imake-1.0.8-r1 )" -BDEPEND="virtual/pkgconfig" +BDEPEND=" + virtual/pkgconfig + X? ( sys-devel/gcc )" + +PATCHES=( + "${FILESDIR}"/${P}-clang16.patch +) src_prepare() { + default + # Respect CFLAGS if built without USE=X sed -i -e "s/= -D/+= -D/" Makefile || die # Fix compile if ncurses is built with separate libtinfo sed -i -e "s:-lcurses:$($(tc-getPKG_CONFIG) --libs ncurses):" Imakefile Makefile || die - - eapply_user } src_configure() { if use X ;then CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die fi } |