From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../link-grammar-5.3.9-out-of-source-build.patch | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 dev-libs/link-grammar/files/link-grammar-5.3.9-out-of-source-build.patch (limited to 'dev-libs/link-grammar/files') 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: -- cgit v1.2.3