From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DA8E1382C5 for ; Tue, 16 Jun 2020 17:14:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C995E0831; Tue, 16 Jun 2020 17:14:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71F98E0831 for ; Tue, 16 Jun 2020 17:14:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF49734F0A5 for ; Tue, 16 Jun 2020 17:14:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5AE9627F for ; Tue, 16 Jun 2020 17:14:10 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1592327632.6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/linuxptp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/linuxptp/linuxptp-2.0.ebuild X-VCS-Directories: net-misc/linuxptp/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60 X-VCS-Branch: master Date: Tue, 16 Jun 2020 17:14:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3381ce14-79f1-41cc-bed2-feb15567b75f X-Archives-Hash: ab0a079cfeca2cfe2a1c2a7ed621da93 commit: 6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60 Author: Thomas Beierlein gentoo org> AuthorDate: Tue Jun 16 17:13:52 2020 +0000 Commit: Thomas Beierlein gentoo 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 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 }