Package: most
Followup-For: Bug #643339
User: [email protected]
Usertags: origin-ubuntu precise ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* debian/rules: Handle multiarch slang2. Fixes FTBFS.
(Closes: #643339)
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500,
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u most-5.0.0a/debian/rules most-5.0.0a/debian/rules
--- most-5.0.0a/debian/rules
+++ most-5.0.0a/debian/rules
@@ -14,6 +14,7 @@
# This is the debhelper compatibility version to use.
# export DH_COMPAT=4
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
CC = gcc
CFLAGS = -O2 -g -Wall -DUTF8
@@ -28,7 +29,7 @@
build-stamp:
dh_testdir
@echo "Building the binaries ..."
- CC="$(CC)" CFLAGS="$(CFLAGS)" ./configure
+ CC="$(CC)" CFLAGS="$(CFLAGS)" ./configure --with-slanglib=/usr/lib/"$(DEB_HOST_MULTIARCH)"
$(MAKE) SYS_INITFILE=/etc/most.conf
touch $@