Bug#640688: slxfig: FTBFS: configure: error: unable to find the slang library and header file slang.h

Ilya Barygin randomaction at ubuntu.com
Tue Jan 3 12:58:04 UTC 2012


tags 622051 patch
user debian-dpkg at lists.debian.org
usertags 622051 multiarch
thanks

Hello, here's a patch from Ubuntu:
https://launchpad.net/ubuntu/+source/slxfig/0.2.0~.35-1ubuntu1

diff -u slxfig-0.2.0~.35/debian/rules slxfig-0.2.0~.35/debian/rules
--- slxfig-0.2.0~.35/debian/rules
+++ slxfig-0.2.0~.35/debian/rules
@@ -6,6 +6,9 @@
 DEB_MAKE_BUILD_TARGET := all RPATH=
 DEB_MAKE_INSTALL_TARGET := install datarootdir=/usr/share	\
 			   DESTDIR=$(DEB_DESTDIR)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_CONFIGURE_EXTRA_FLAGS +=
--with-slanglib=/usr/lib/$(DEB_HOST_MULTIARCH) \
+  --with-slanginc=/usr/include

 pkg = slxfig
 ver = 0





More information about the Pkg-jed-sl-modules mailing list