ports/databases/rrdtool/files/patch-bindings-Makefile.in
Sylvio Cesar Teixeira b0051c1a78 - Fix of 'make deinstall' when NOPORTEXAMPLES is defined [1]
- Update to 1.4.3 [2]

PR:		ports/144850 [1]
		ports/146052 [2]
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
2010-04-26 22:47:08 +00:00

24 lines
1.5 KiB
Text

--- bindings/Makefile.in.orig 2010-03-23 01:30:03.000000000 +0800
+++ bindings/Makefile.in 2010-04-26 03:43:31.000000000 +0800
@@ -696,9 +696,9 @@
all-local: @COMP_PERL@ @COMP_RUBY@ @COMP_PYTHON@
install-data-local:
- $(AM_V_GEN)test -f perl-piped/Makefile && cd perl-piped && $(MAKE) install || true
- $(AM_V_GEN)test -f perl-shared/Makefile && cd perl-shared && $(MAKE) install || true
- $(AM_V_GEN)test -f ruby/Makefile && cd ruby && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) $(RUBY_MAKE_OPTIONS) install || true
+ $(AM_V_GEN)test -f perl-piped/Makefile && cd perl-piped && $(MAKE) pure_install || true
+ $(AM_V_GEN)test -f perl-shared/Makefile && cd perl-shared && $(MAKE) pure_install || true
+ $(AM_V_GEN)test -f ruby/Makefile && cd ruby && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) install || true
$(AM_V_GEN)test -d python/build && cd python && env BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py install --skip-build --prefix=$(DESTDIR)$(prefix) --exec-prefix=$(DESTDIR)$(exec_prefix) || true
# rules for building the ruby module
@@ -709,7 +709,7 @@
# rules for building the pyton module
python: Makefile
- cd python && env BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py build_ext --rpath=$(libdir) && env LIBDIR=../../src/.libs $(PYTHON) setup.py build
+ cd python && env INCDIR=../../src BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py build_ext --rpath=$(libdir) && env LIBDIR=../../src/.libs $(PYTHON) setup.py build
# rules for building the perl module
perl_piped: perl-piped/Makefile