mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-apps/moreutils: respect CC
Closes: https://bugs.gentoo.org/740340 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
13
sys-apps/moreutils/files/moreutils-0.64-respect-env.patch
Normal file
13
sys-apps/moreutils/files/moreutils-0.64-respect-env.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/is_utf8/Makefile b/is_utf8/Makefile
|
||||
index 13b1021..f0a111e 100644
|
||||
--- a/is_utf8/Makefile
|
||||
+++ b/is_utf8/Makefile
|
||||
@@ -37,7 +37,7 @@ LINKERNAME = lib$(NAME).so
|
||||
SONAME = $(LINKERNAME).$(VERSION)
|
||||
REALNAME = $(SONAME).$(MINOR).$(RELEASE)
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
CFLAGS ?= -O3 -Wextra -Wall -ansi -Wstrict-prototypes
|
||||
|
||||
$(NAME): $(OBJ)
|
||||
@@ -31,6 +31,10 @@ DEPEND="
|
||||
app-text/docbook-xml-dtd:4.4
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.64-respect-env.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# don't build manpages
|
||||
if ! use doc ; then
|
||||
|
||||
Reference in New Issue
Block a user