summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2020-06-16 19:13:52 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2020-06-16 19:13:52 +0200
commit6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60 (patch)
treee304a533a4feb356980be69f7d401af2699c563d /net-misc
parentsys-libs/pam: specify minimal pambase version (diff)
downloadgentoo-6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60.tar.gz
gentoo-6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60.tar.bz2
gentoo-6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60.zip
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@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/linuxptp/linuxptp-2.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-misc/linuxptp/linuxptp-2.0.ebuild b/net-misc/linuxptp/linuxptp-2.0.ebuild
index 716fbf22a46d..3569ecc3c668 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
}