commit: 6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> AuthorDate: Tue Jun 16 17:13:52 2020 +0000 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> CommitDate: Tue Jun 16 17:13:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c491a73
net-misc/linuxptp: Fix configuration by using provided script Closes: https://bugs.gentoo.org/727638 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> net-misc/linuxptp/linuxptp-2.0.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-misc/linuxptp/linuxptp-2.0.ebuild b/net-misc/linuxptp/linuxptp-2.0.ebuild index 716fbf22a46..3569ecc3c66 100644 --- a/net-misc/linuxptp/linuxptp-2.0.ebuild +++ b/net-misc/linuxptp/linuxptp-2.0.ebuild @@ -19,8 +19,14 @@ RDEPEND="${DEPEND}" CONFIG_CHECK="~PPS ~NETWORK_PHY_TIMESTAMPING ~PTP_1588_CLOCK" +pkg_setup() { + linux-info_pkg_setup +} + src_compile() { - export EXTRA_CFLAGS=${CFLAGS} + # parse needed additional CFLAGS + export MY_FLAGS=$(./incdefs.sh) + export EXTRA_CFLAGS="${CFLAGS} ${MY_FLAGS}" emake CC="$(tc-getCC)" prefix=/usr mandir=/usr/share/man }
