Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . rock-master-18.09-ruby-qtbindings (4.8.6.5-1) UNRELEASED; urgency=medium . * Initial release (Closes: #nnnn)
Author: MAINTAINER <rock-user@rock.dfki.uni-bremen.de>
The information above should follow the Patch Tagging Guidelines, please checkout dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch> Bug:
<url in upstream bugtracker> Bug-Debian: bugs.debian.org/
— rock-master-18.09-ruby-qtbindings-4.8.6.5.orig/extconf.rb +++ rock-master-18.09-ruby-qtbindings-4.8.6.5/extconf.rb @@ -200,7 +200,20 @@ File.open('Makefile', 'w') do |file|
file.puts "" file.puts "build: makedirs" file.puts "\t-cd ext/build; \\"
-
file.puts “cmake -DCMAKE_MINIMUM_REQUIRED_VERSION=2.6 \”
+ + # rock-packaging begin + #-file.puts “cmake -DCMAKE_MINIMUM_REQUIRED_VERSION=2.6 \” + prefix = File.absolute_path(ENV) + puts “Using install prefix: #{prefix}” + + archdir = RbConfig::CONFIG.gsub(//usr/,prefix) + sitelibdir = RbConfig::CONFIG.gsub(//usr/local/,prefix) + puts “Using archdir: #{archdir}” + puts “Using sitelibdir: #{sitelibdir}” + file.puts “cmake -DCMAKE_MINIMUM_REQUIRED_VERSION=2.6 -DCUSTOM_RUBY_SITE_ARCH_DIR=#{archdir} -DCUSTOM_RUBY_SITE_LIB_DIR=#{sitelibdir} -DCMAKE_INSTALL_PREFIX=#{prefix} \” + # rock-packaging end + +
file.puts "-G \"Unix Makefiles\" \\" if ARGV[0] == '-d' file.puts "-DCMAKE_BUILD_TYPE=Debug \\"
@@ -208,7 +221,10 @@ File.open('Makefile', 'w') do |file|
file.puts "-Wno-dev \\" file.puts "-DRUBY_EXECUTABLE=#{File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['RUBY_INSTALL_NAME'])} \\" file.puts ".."
-
file.puts “tcd ext/build; make”
+ # rock-packaging begin + #-file.puts “tcd ext/build; make” + file.puts “tcd ext/build; make install” + # rock-packaging end
file.puts "" file.puts "install: makedirs" if macosx