40ab99de7a
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/rrdtool#f33b55ff2e773bfb1b4732d606fe89b8d7138371
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
|
|
index 54f5c23..ee85c23 100644
|
|
--- a/bindings/Makefile.am
|
|
+++ b/bindings/Makefile.am
|
|
@@ -35,8 +35,9 @@ install-data-local:
|
|
&& $(MAKE) install ) \
|
|
|| true
|
|
$(AM_V_GEN)test -f ${builddir}/ruby/Makefile \
|
|
- && ( cd ${builddir}/ruby \
|
|
- && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) $(RUBY_MAKE_OPTIONS) install ) \
|
|
+ && ( $(MKDIR_P) $(DESTDIR)$(libdir)/ruby/vendor_ruby && cd ${builddir}/ruby \
|
|
+ && $(MAKE) EPREFIX=$(DESTDIR)$(exec_prefix) $(RUBY_MAKE_OPTIONS) \
|
|
+ hdrdir="$(includedir)" rubyhdrdir="$(includedir)" includedir="$(includedir)" install ) \
|
|
|| true
|
|
$(AM_V_GEN)test -d ${builddir}/python/build \
|
|
&& ( cd ${builddir}/python \
|
|
@@ -57,7 +58,8 @@ ruby:
|
|
EPREFIX=$(exec_prefix) \
|
|
ABS_TOP_SRCDIR=${abs_top_srcdir} \
|
|
ABS_TOP_BUILDDIR=${abs_top_builddir} \
|
|
- $(RUBY_MAKE_OPTIONS) RUBYARCHDIR= )
|
|
+ $(RUBY_MAKE_OPTIONS) hdrdir="$(includedir)" \
|
|
+ rubyhdrdir="$(includedir)" includedir="$(includedir)" RUBYARCHDIR= )
|
|
|
|
# rules for building the python module
|
|
python:
|