pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/eukleides eukleides: honor environment flags



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f7987a4a65f
branches:  trunk
changeset: 452707:8f7987a4a65f
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 14 13:35:47 2021 +0000

description:
eukleides: honor environment flags

diffstat:

 math/eukleides/distinfo                     |   3 ++-
 math/eukleides/patches/patch-build_Makefile |  26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 01b8fd91aa30 -r 8f7987a4a65f math/eukleides/distinfo
--- a/math/eukleides/distinfo   Fri May 14 13:30:56 2021 +0000
+++ b/math/eukleides/distinfo   Fri May 14 13:35:47 2021 +0000
@@ -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 @@
 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 -r 01b8fd91aa30 -r 8f7987a4a65f math/eukleides/patches/patch-build_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/eukleides/patches/patch-build_Makefile       Fri May 14 13:35:47 2021 +0000
@@ -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):



Home | Main Index | Thread Index | Old Index