diff options
author | nia <nia@pkgsrc.org> | 2021-05-14 13:35:47 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-05-14 13:35:47 +0000 |
commit | 51a9940305de9c4505bc23b4368a422e0ed0dfb0 (patch) | |
tree | 44e016a360c1fcfdf9be68301f023b026c5bf769 /math | |
parent | 2489479fc6a54647a77addb6149aa0bf19c6bdb9 (diff) | |
download | pkgsrc-51a9940305de9c4505bc23b4368a422e0ed0dfb0.tar.gz |
eukleides: honor environment flags
Diffstat (limited to 'math')
-rw-r--r-- | math/eukleides/distinfo | 3 | ||||
-rw-r--r-- | math/eukleides/patches/patch-build_Makefile | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/math/eukleides/distinfo b/math/eukleides/distinfo index 12a8dce0688..5a9f70de380 100644 --- a/math/eukleides/distinfo +++ b/math/eukleides/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2015/11/03 23:33:32 agc Exp $ +$NetBSD: distinfo,v 1.10 2021/05/14 13:35:47 nia Exp $ SHA1 (eukleides-1.5.4.tar.bz2) = a608ccde9ec412cf9337c71afab613d9fd986427 RMD160 (eukleides-1.5.4.tar.bz2) = 63da73f7147f57f48046071564b9865145cda09e @@ -6,5 +6,6 @@ SHA512 (eukleides-1.5.4.tar.bz2) = 610207be875abefe165d85ede9ebc3359ec052eef942f Size (eukleides-1.5.4.tar.bz2) = 77410 bytes SHA1 (patch-Makefile) = 5fee73d0f18d399a3268140addb328b62e4669d8 SHA1 (patch-bash_euktoeps) = 64e5fe59779197e2f03afd88823d53168f7bfa9a +SHA1 (patch-build_Makefile) = eb173e9f91a3f6d2bb5fbc46f1a139abbfea9698 SHA1 (patch-doc_Makefile) = bee61472eb0d70ceb32fa9429e34dae2f6fece4d SHA1 (patch-man_Makefile) = b9224f78d60382bf921d29a25f10dbc596e5754f diff --git a/math/eukleides/patches/patch-build_Makefile b/math/eukleides/patches/patch-build_Makefile new file mode 100644 index 00000000000..f84dd15893b --- /dev/null +++ b/math/eukleides/patches/patch-build_Makefile @@ -0,0 +1,26 @@ +$NetBSD: patch-build_Makefile,v 1.1 2021/05/14 13:35:47 nia Exp $ + +Honor environment. + +--- build/Makefile.orig 2010-04-27 06:31:00.000000000 +0000 ++++ build/Makefile +@@ -7,17 +7,14 @@ BUILD_DIR = $(addsuffix _build,$(BINARY) + DEPEND = $(BUILD_DIR)/depend + COMMON_DIR = ../src/common + MAIN_DIR = ../src/$(BINARY) +-LEX = flex + LFLAGS = -8 +-YACC = bison + YFLAGS = -d +-CC = gcc + IFLAGS = -I$(COMMON_DIR) -I$(MAIN_DIR) -I$(BUILD_DIR) + ifneq ($(strip $(LOCALES)),) + MOFLAGS = -DMO_DIR=\"$(MO_DIR)\" + endif +-CFLAGS = -Wall -D__$(BINARY)__ $(IFLAGS) $(MOFLAGS) +-LDFLAGS = -lncurses -lreadline -lm ++CFLAGS += -Wall -D__$(BINARY)__ $(IFLAGS) $(MOFLAGS) ++LDFLAGS += -lncurses -lreadline -lm + VPATH = $(COMMON_DIR):$(MAIN_DIR):$(BUILD_DIR) + + $(BINARY): |