commit: fcee0a2dfee5920e09772a604f72faa96d264209 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> AuthorDate: Sat Jul 11 07:52:08 2020 +0000 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> CommitDate: Sat Jul 11 07:55:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcee0a2d
net-dialup/openl2tp: use native tc variables If native toolchain variables are provided (e.g. CC), use them. Closes: https://bugs.gentoo.org/724964 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> .../openl2tp/files/openl2tp-1.8-native-tc.patch | 23 ++++++++++++++++++++++ net-dialup/openl2tp/openl2tp-1.8-r1.ebuild | 1 + 2 files changed, 24 insertions(+) diff --git a/net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch b/net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch new file mode 100644 index 00000000000..9e5ff3411af --- /dev/null +++ b/net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch @@ -0,0 +1,23 @@ +--- openl2tp-1.8/Makefile.orig 2020-07-11 10:04:54.485853377 +0300 ++++ openl2tp-1.8/Makefile 2020-07-11 10:21:10.616327547 +0300 +@@ -69,13 +69,13 @@ + + # END CONFIGURABLE SETTINGS + +-AS = $(CROSS_COMPILE)as +-LD = $(CROSS_COMPILE)ld +-CC = $(CROSS_COMPILE)gcc +-AR = $(CROSS_COMPILE)ar +-NM = $(CROSS_COMPILE)nm +-STRIP = $(CROSS_COMPILE)strip +-INSTALL = $(CROSS_COMPILE)install ++AS ?= $(CROSS_COMPILE)as ++LD ?= $(CROSS_COMPILE)ld ++CC ?= $(CROSS_COMPILE)gcc ++AR ?= $(CROSS_COMPILE)ar ++NM ?= $(CROSS_COMPILE)nm ++STRIP ?= $(CROSS_COMPILE)strip ++INSTALL ?= $(CROSS_COMPILE)install + + ifneq ($(READLINE_DIR),) + READLINE_LDFLAGS= -L $(READLINE_DIR)/lib diff --git a/net-dialup/openl2tp/openl2tp-1.8-r1.ebuild b/net-dialup/openl2tp/openl2tp-1.8-r1.ebuild index 2d42d7523f4..778f59179e2 100644 --- a/net-dialup/openl2tp/openl2tp-1.8-r1.ebuild +++ b/net-dialup/openl2tp/openl2tp-1.8-r1.ebuild @@ -47,6 +47,7 @@ PATCHES=( "${FILESDIR}/${P}-configure-Makefile.patch" "${FILESDIR}/${P}-cflags.patch" "${FILESDIR}/${P}-tirpc.patch" + "${FILESDIR}/${P}-native-tc.patch" ) src_prepare() {
