summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/openl2tp')
-rw-r--r--net-dialup/openl2tp/files/openl2tp-1.8-native-tc.patch23
-rw-r--r--net-dialup/openl2tp/openl2tp-1.8-r1.ebuild1
2 files changed, 24 insertions, 0 deletions
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 000000000000..9e5ff3411af5
--- /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 2d42d7523f40..778f59179e29 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() {