Package: libkarma-cil Version: 0.0.6-4.1ubuntu1 Severity: important Tags: patch
$ cat karma-sharp.pc | grep Version Version: This happens due to an improper substitution of @VERSION@ with $(VERSION). $(VERSION) was defined in the top-level Makefile, but since the Makefile in karma-sharp was called from debian/rules instead of the top-level Makefile, $(VERSION) was not defined appropriately. The attached patch should solve this issue by passing the VERSION in accordingly -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-rc3-zen2-hyper4 (SMP w/2 CPU cores) Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libkarma-cil depends on: ii libkarma0 0.0.6-4.1ubuntu1 Rio Karma access library [runtime ii libmono-corlib2.0-cil 2.4.2.3+dfsg-2 Mono core library (for CLI 2.0) ii libmono-posix2.0-cil 2.4.2.3+dfsg-2 Mono.Posix library (for CLI 2.0) libkarma-cil recommends no packages. libkarma-cil suggests no packages. -- no debconf information
diff -u libkarma-0.0.6/debian/rules libkarma-0.0.6/debian/rules --- libkarma-0.0.6/debian/rules +++ libkarma-0.0.6/debian/rules @@ -47,13 +47,13 @@ dh_testdir dh_testroot dh_installdirs - cd src && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install - cd tools && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + cd src && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install VERSION=0.0.6 + cd tools && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install VERSION=0.0.6 install-indep: build-indep dh_testdir dh_testroot dh_installdirs - cd karma-sharp && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + cd karma-sharp && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install VERSION=0.0.6 binary-indep: export DH_OPTIONS := -i binary-indep: build-indep install-indep

