summaryrefslogtreecommitdiff
path: root/dev-libs/link-grammar/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/link-grammar/files
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/link-grammar/files')
-rw-r--r--dev-libs/link-grammar/files/link-grammar-5.3.9-out-of-source-build.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/link-grammar/files/link-grammar-5.3.9-out-of-source-build.patch b/dev-libs/link-grammar/files/link-grammar-5.3.9-out-of-source-build.patch
new file mode 100644
index 000000000000..6eacc6610f90
--- /dev/null
+++ b/dev-libs/link-grammar/files/link-grammar-5.3.9-out-of-source-build.patch
@@ -0,0 +1,61 @@
+--- a/bindings/python/Makefile.am 2016-08-26 04:28:48.000000000 +0200
++++ b/bindings/python/Makefile.am 2016-09-10 16:13:33.554781694 +0200
+@@ -4,9 +4,8 @@
+ # Created by Linas Vepstas February 2014
+ #
+
+-SWIG_SOURCES = ../swig/link_grammar.i
+-# BUILT_C_SOURCES = $(top_builddir)/bindings/python/lg_python_wrap.cc
+-BUILT_C_SOURCES = ../../bindings/python/lg_python_wrap.cc
++SWIG_SOURCES = $(top_srcdir)/bindings/swig/link_grammar.i
++BUILT_C_SOURCES = $(top_builddir)/bindings/python/lg_python_wrap.cc
+ BUILT_PY_SOURCES = $(top_builddir)/bindings/python/clinkgrammar.py
+
+ # Over-ride the install location, so as to remove the dash in the
+@@ -20,7 +19,7 @@
+ pkgpython_PYTHON = \
+- linkgrammar.py \
++ $(srcdir)/linkgrammar.py \
+ $(top_builddir)/bindings/python/__init__.py \
+- $(top_builddir)/bindings/python/clinkgrammar.py
++ $(BUILT_PY_SOURCES)
+
+
+ # These are packaged in the tarball; make clean should not remove them.
+--- a/bindings/python3/Makefile.am 2016-08-26 04:28:48.000000000 +0200
++++ b/bindings/python3/Makefile.am 2016-09-11 01:30:35.700926275 +0200
+@@ -4,9 +4,8 @@
+ # Created by Linas Vepstas February 2014
+ #
+
+-SWIG_SOURCES = ../swig/link_grammar.i
+-# BUILT_C_SOURCES = $(top_builddir)/bindings/python3/lg_python_wrap.cc
+-BUILT_C_SOURCES = ../../bindings/python3/lg_python_wrap.cc
++SWIG_SOURCES = $(top_srcdir)/bindings/swig/link_grammar.i
++BUILT_C_SOURCES = $(top_builddir)/bindings/python3/lg_python_wrap.cc
+ BUILT_PY_SOURCES = $(top_builddir)/bindings/python3/clinkgrammar.py
+
+ # Over-ride the install location, so as to remove the dash in the
+@@ -18,9 +17,9 @@
+
+ # Files that get installed in $pkgpythondir
+ pkgpython3_PYTHON = \
+- ../../bindings/python/linkgrammar.py \
++ $(top_srcdir)/bindings/python/linkgrammar.py \
+ $(top_builddir)/bindings/python3/__init__.py \
+- $(top_builddir)/bindings/python3/clinkgrammar.py
++ $(BUILT_PY_SOURCES)
+
+
+ # Apparently, anaconda does not work without this!?
+--- a/bindings/python3/Makefile.am 2016-09-11 12:44:01.466971878 +0200
++++ b/bindings/python3/Makefile.am 2016-09-11 12:44:22.385788941 +0200
+@@ -26,7 +26,7 @@
+ # This seems wrong and lme to me, but see issue #298
+ pkgpypathdir=$(pythondir)
+ pkgpypath_PYTHON = \
+- linkgrammar.pth
++ $(srcdir)/linkgrammar.pth
+
+ # These are packaged in the tarball; make clean should not remove them.
+ maintainer-clean-local: