git: 225067f81a44 - main - lang/eisl: Use port-supplied CC/CFLAGS/LDFLAGS; Clarify BROKEN_i386 message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Sep 2022 07:42:54 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=225067f81a4463cc8a2f80d5ce2a82bc7b5e1d2f commit 225067f81a4463cc8a2f80d5ce2a82bc7b5e1d2f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-09-09 07:35:27 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-09-09 07:42:50 +0000 lang/eisl: Use port-supplied CC/CFLAGS/LDFLAGS; Clarify BROKEN_i386 message --- lang/eisl/Makefile | 2 +- lang/eisl/files/patch-makefile | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/lang/eisl/Makefile b/lang/eisl/Makefile index 584499d95831..c5a6d34a7869 100644 --- a/lang/eisl/Makefile +++ b/lang/eisl/Makefile @@ -10,7 +10,7 @@ WWW= https://github.com/sasagawa888/eisl LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/documents/license.txt -BROKEN_i386= stage breaks: Abort trap, see https://github.com/sasagawa888/eisl/issues/218 +BROKEN_i386= stage breaks: data segment of more than 500GB is required, see https://github.com/sasagawa888/eisl/issues/218 TEST_DEPENDS= cppcheck:devel/cppcheck diff --git a/lang/eisl/files/patch-makefile b/lang/eisl/files/patch-makefile new file mode 100644 index 000000000000..6735478ce0b0 --- /dev/null +++ b/lang/eisl/files/patch-makefile @@ -0,0 +1,29 @@ +--- makefile.orig 2022-09-02 08:35:22 UTC ++++ makefile +@@ -1,7 +1,7 @@ + .POSIX: + .DELETE_ON_ERROR: + +-CC := cc ++#CC := cc + DC := ldc2 + LD := $(CC) + ifneq ($(shell uname),Darwin) +@@ -31,7 +31,7 @@ else + endif + endif + endif +-CFLAGS := $(INCS) -Wall -Wextra -D_FORTIFY_SOURCE=2 $(CURSES_CFLAGS) -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -Inana/src ++CFLAGS += $(INCS) -Wall -Wextra -D_FORTIFY_SOURCE=2 $(CURSES_CFLAGS) -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -Inana/src + DFLAGS := --preview=all --de -w --O3 --release --betterC + SRC_CII := cii/src/except.c cii/src/fmt.c cii/src/str.c cii/src/text.c + SRC_D := dextension.d disl.d +@@ -54,7 +54,7 @@ ifeq ($(DEBUG),1) + SRC_NANA := nana/src/I.c + ifneq ($(shell uname),OpenBSD) + CFLAGS += -fsanitize=undefined +- LDFLAGS := -fsanitize=undefined ++ LDFLAGS += -fsanitize=undefined + endif + else + CFLAGS += -O3 -flto -DNDEBUG=1 -DWITHOUT_NANA=1