aboutsummaryrefslogtreecommitdiff
path: root/databases/pgloader3
diff options
context:
space:
mode:
authorChristoph Moench-Tegeder <cmt@FreeBSD.org>2021-02-24 21:43:00 +0000
committerChristoph Moench-Tegeder <cmt@FreeBSD.org>2021-02-24 21:43:00 +0000
commitb333f9c5a8805e26cccfcf2167d20aadf70934f4 (patch)
tree6a4726a2f5031c0f1ebe57cc27d4f2446c64ad6a /databases/pgloader3
parent2e6999b9c0aff4bbd6d029536aa73eb94fb83345 (diff)
Notes
Diffstat (limited to 'databases/pgloader3')
-rw-r--r--databases/pgloader3/files/patch-Makefile20
1 files changed, 17 insertions, 3 deletions
diff --git a/databases/pgloader3/files/patch-Makefile b/databases/pgloader3/files/patch-Makefile
index f3578c196861..532143f5e1f2 100644
--- a/databases/pgloader3/files/patch-Makefile
+++ b/databases/pgloader3/files/patch-Makefile
@@ -1,6 +1,20 @@
--- Makefile.orig 2020-03-22 21:26:18 UTC
+++ Makefile
-@@ -86,7 +86,7 @@ $(QLDIR)/local-projects/cl-csv:
+@@ -30,6 +30,13 @@ BUNDLEDIR = $(BUILDDIR)/bundle/$(BUNDLENAME)
+ BUNDLE = $(BUILDDIR)/$(BUNDLENAME).tgz
+ BUNDLETESTD= $(BUILDDIR)/bundle/test
+
++ifneq ($(shell getconf LONG_BIT),64)
++# Assuming 32 bit FreeBSD and setting DYNSIZE down to 1 GiB...
++# (Will be used by SBCL for its GC/heap, 32 bit systems can only
++# allocate 4 GiB max).
++DYNSIZE = 1024
++endif
++
+ ifeq ($(OS),Windows_NT)
+ EXE = .exe
+ COMPRESS_CORE = no
+@@ -86,7 +93,7 @@ $(QLDIR)/local-projects/cl-csv:
$(QLDIR)/setup.lisp:
mkdir -p $(BUILDDIR)
@@ -9,7 +23,7 @@
$(CL) $(CL_OPTS) --load $(BUILDDIR)/quicklisp.lisp \
--load src/getenv.lisp \
--eval '(quicklisp-quickstart:install :path "$(BUILDDIR)/quicklisp" :proxy (getenv "http_proxy"))' \
-@@ -126,7 +126,9 @@ $(BUILDAPP_CCL): $(QLDIR)/setup.lisp
+@@ -126,7 +133,9 @@ $(BUILDAPP_CCL): $(QLDIR)/setup.lisp
$(BUILDAPP_SBCL): $(QLDIR)/setup.lisp
mkdir -p $(BUILDDIR)/bin
@@ -20,7 +34,7 @@
--eval '(ql:quickload "buildapp")' \
--eval '(buildapp:build-buildapp "$@")' \
--eval '(quit)'
-@@ -199,7 +201,7 @@ $(BUNDLE): $(BUNDLEDIR) $(BUNDLEDIR)/version.sexp
+@@ -199,7 +208,7 @@ $(BUNDLE): $(BUNDLEDIR) $(BUNDLEDIR)/version.sexp
sed -e s/%VERSION%/$(VERSION)/ < bundle/Makefile > $(BUNDLEDIR)/Makefile
git archive --format=tar --prefix=pgloader-$(VERSION)/ master \
| tar -C $(BUNDLEDIR)/local-projects/ -xf -