ports/databases/rrdtool/files/patch-bindings-Makefile.in
Xin LI 21527bf243 Fix python module build.
Approved by:	demon (implict via private mail)
2007-05-28 19:52:47 +00:00

26 lines
1.3 KiB
Text

--- ./bindings/Makefile.in.orig Thu May 3 02:06:59 2007
+++ ./bindings/Makefile.in Tue May 29 03:45:40 2007
@@ -539,18 +539,18 @@
all-local: @COMP_PERL@ @COMP_RUBY@ @COMP_PYTHON@
install-data-local:
- test -f perl-piped/Makefile && cd perl-piped && $(MAKE) install || true
- test -f perl-shared/Makefile && cd perl-shared && $(MAKE) install || true
- test -f ruby/Makefile && cd ruby && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS) install || true
+ test -f perl-piped/Makefile && cd perl-piped && $(MAKE) pure_install || true
+ test -f perl-shared/Makefile && cd perl-shared && $(MAKE) pure_install || true
+ test -f ruby/Makefile && cd ruby && $(MAKE) EPREFIX=$(exec_prefix) install || true
test -d python/build && cd python && env LIBDIR=$(libdir) $(PYTHON) setup.py install --skip-build --prefix=$(DESTDIR)$(prefix) --exec-prefix=$(DESTDIR)$(exec_prefix) || true
# rules for buildung the ruby module
ruby:
- cd ruby && $(RUBY) extconf.rb && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS)
+ cd ruby && $(RUBY) extconf.rb && $(MAKE) EPREFIX=$(exec_prefix)
# rules for buildung the pyton module
python:
- cd python && env LIBDIR=../../src/.libs $(PYTHON) setup.py build
+ cd python && env LIBDIR=../../src/.libs INCDIR=../../src $(PYTHON) setup.py build
# rules for building the perl module
perl_piped: perl-piped/Makefile