Output from build is: c++ -Wall -pedantic -ansi -Wno-long-long -O2 -c -o git-crypt.o git-crypt.cpp c++ -Wall -pedantic -ansi -Wno-long-long -O2 -c -o commands.o commands.cpp c++ -Wall -pedantic -ansi -Wno-long-long -O2 -c -o crypto.o crypto.cpp c++ -Wall -pedantic -ansi -Wno-long-long -O2 -c -o util.o util.cpp c++ -Wall -pedantic -ansi -Wno-long-long -O2 -o git-crypt git-crypt.o commands.o crypto.o util.o -lcrypto >>> Source compiled. It CXX, CXXFLAGS, and LDFLAGS specified in portage are ignored. Reproducible: Always
Created attachment 384320 [details] ebuild which fixes this issue (and adds missing dependency on openssl)
Comment on attachment 384320 [details] ebuild which fixes this issue (and adds missing dependency on openssl) --- git-crypt-0.3.ebuild 2014-02-18 03:58:42.000000000 +0100 +++ - 2014-09-08 10:54:21.493684680 +0200 @@ -1,20 +1,35 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-crypt/git-crypt-0.3.ebuild,v 1.1 2014/02/18 02:58:42 patrick Exp $ +# $Header: $ EAPI=5 -DESCRIPTION="transparent file encryption in git" -HOMEPAGE="https://www.agwa.name/projects/git-crypt/" -SRC_URI="https://github.com/AGWA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0" +inherit eutils + +if [[ "$PV" = 9999 ]]; then + inherit git-2 + EGIT_REPO_URI="https://www.agwa.name/git/git-crypt.git" + KEYWORDS="" +else + SRC_URI="https://github.com/AGWA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi -KEYWORDS="~amd64 ~x86" +DESCRIPTION="git-crypt enables transparent encryption and decryption of files in a +git repository" +HOMEPAGE="https://www.agwa.name/git/git-crypt.git" -RDEPEND="dev-vcs/git" +LICENSE="GPL-3+ openssl" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/openssl dev-vcs/git" DEPEND="${RDEPEND}" +src_compile () { + emake CXX="$(tc-getCXX)" CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libcrypto)" LDFLAGS="$LDFLAGS $(pkg-config --libs libcrypto)" +} + src_install() { mkdir -p "${D}"/usr/bin emake PREFIX="${D}"/usr install
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afcb7f713732686924071d264af386df97b757bb commit afcb7f713732686924071d264af386df97b757bb Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-01 23:14:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-01 23:16:05 +0000 dev-vcs/git-crypt: add 0.7.0 Closes: https://bugs.gentoo.org/522286 Closes: https://bugs.gentoo.org/689180 Closes: https://bugs.gentoo.org/805545 Thanks-to: John R. Graham <john_r_graham@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> dev-vcs/git-crypt/Manifest | 1 + dev-vcs/git-crypt/git-crypt-0.7.0.ebuild | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+)