diff options
author | Sam James <sam@gentoo.org> | 2020-09-04 15:10:46 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-04 15:11:12 +0000 |
commit | 4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc (patch) | |
tree | 8d973d7b1127fa8c41b73964f6c87a65c5201de8 /sys-apps/moreutils | |
parent | app-i18n/ibus-libpinyin: Stabilize 1.11.92-r1 amd64, #736732 (diff) | |
download | gentoo-4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc.tar.gz gentoo-4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc.tar.bz2 gentoo-4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc.zip |
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>
Diffstat (limited to 'sys-apps/moreutils')
-rw-r--r-- | sys-apps/moreutils/files/moreutils-0.64-respect-env.patch | 13 | ||||
-rw-r--r-- | sys-apps/moreutils/moreutils-0.64.ebuild | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sys-apps/moreutils/files/moreutils-0.64-respect-env.patch b/sys-apps/moreutils/files/moreutils-0.64-respect-env.patch new file mode 100644 index 000000000000..ea699d2c5e8d --- /dev/null +++ b/sys-apps/moreutils/files/moreutils-0.64-respect-env.patch @@ -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) diff --git a/sys-apps/moreutils/moreutils-0.64.ebuild b/sys-apps/moreutils/moreutils-0.64.ebuild index 86020a66dc68..ad2f9c8167d9 100644 --- a/sys-apps/moreutils/moreutils-0.64.ebuild +++ b/sys-apps/moreutils/moreutils-0.64.ebuild @@ -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 |