diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /net-misc/linuxptp/linuxptp-2.0.ebuild | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'net-misc/linuxptp/linuxptp-2.0.ebuild')
-rw-r--r-- | net-misc/linuxptp/linuxptp-2.0.ebuild | 8 |
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 } |