1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/databases/pgloader3/files/patch-Makefile
Torsten Zuehlsdorff ec1e4f8f2e New port: databases/pgloader3
Pgloader loads data into PostgreSQL using the COPY streaming protocol,and
doing so with separate threads for reading and writing data.Asynchronous
IO,compiled to the metal programming language.
pgloader knows how to read data from MySQL,SQLite or dBase databases,and
knows how to discover the schema and properly cast data types over.It also
knows how to read CSV files in several definitions of CSV,and fixed columns
files.

WWW: http://pgloader.io

PR:           219165
Submitted by: Jov <amutu@amutu.com>
2017-08-07 13:46:50 +00:00

39 lines
1.7 KiB
Plaintext

--- Makefile.orig 2017-07-06 14:53:29 UTC
+++ Makefile
@@ -84,7 +84,7 @@ $(QLDIR)/local-projects/cl-csv:
$(QLDIR)/setup.lisp:
mkdir -p $(BUILDDIR)
- curl -o $(BUILDDIR)/quicklisp.lisp http://beta.quicklisp.org/quicklisp.lisp
+# curl -o $(BUILDDIR)/quicklisp.lisp http://beta.quicklisp.org/quicklisp.lisp
$(CL) $(CL_OPTS) --load $(BUILDDIR)/quicklisp.lisp \
--load src/getenv.lisp \
--eval '(quicklisp-quickstart:install :path "$(BUILDDIR)/quicklisp" :proxy (getenv "http_proxy"))' \
@@ -97,7 +97,7 @@ clones: $(QLDIR)/local-projects/cl-ixf \
$(QLDIR)/local-projects/cl-csv \
$(QLDIR)/local-projects/qmynd ;
-$(LIBS): $(QLDIR)/setup.lisp clones
+$(LIBS): $(QLDIR)/setup.lisp
$(CL) $(CL_OPTS) --load $(QLDIR)/setup.lisp \
--eval '(push "$(PWD)/" asdf:*central-registry*)' \
--eval '(ql:quickload "pgloader")' \
@@ -113,7 +113,7 @@ $(MANIFEST): $(LIBS)
manifest: $(MANIFEST) ;
-$(BUILDAPP_CCL): $(QLDIR)/setup.lisp
+$(BUILDAPP_CCL): $(QLDIR)/setup.lisp $(LIBS)
mkdir -p $(BUILDDIR)/bin
$(CL) $(CL_OPTS) --load $(QLDIR)/setup.lisp \
--eval '(ql:quickload "buildapp")' \
@@ -176,7 +176,7 @@ $(BUNDLE): $(BUNDLEDIR)
sed -e s/%VERSION%/$(VERSION)/ < bundle/Makefile > $(BUNDLEDIR)/Makefile
git archive --format=tar --prefix=pgloader-$(VERSION)/ master \
| tar -C $(BUNDLEDIR)/local-projects/ -xf -
- make QLDIR=$(BUNDLEDIR) clones
+ make QLDIR=$(BUNDLEDIR)
tar -C build/bundle \
--exclude bin \
--exclude test/sqlite \