mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user