diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index b0783d8..ae5c14a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,8 @@ #!/usr/bin/make -f # -*- makefile -*- +include /usr/share/dpkg/architecture.mk + export DH_VERBOSE=1 export DEBIAN_DISABLE_RUBYGEMS_INTEGRATION = 1 @@ -10,8 +12,6 @@ export DH_OPTIONS TESTOPTS += -v export TESTOPTS -DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) - export SOURCE := $(shell dpkg-parsechangelog -SSource) export RUBY_VERSION := $(patsubst ruby%,%,$(SOURCE)) export RUBY_API_VERSION := $(RUBY_VERSION).0 @@ -20,7 +20,7 @@ export RUBY_API_VERSION := $(RUBY_VERSION).0 baseruby=$(shell test -x /usr/bin/ruby && echo /usr/bin/ruby || echo /usr/bin/ruby1.8) configure_options += --enable-multiarch -configure_options += --target=$(DEB_HOST_MULTIARCH) +configure_options += --target=$(DEB_HOST_GNU_TYPE) configure_options += --program-suffix=$(RUBY_VERSION) configure_options += --with-soname=ruby-$(RUBY_VERSION) configure_options += --enable-shared |