[Pkg-mc-devel] Bug#539913: mc: FTBFS on GNU/kFreeBSD (cons.saver is linux specific)

Petr Salinger Petr.Salinger at seznam.cz
Tue Aug 4 12:26:54 UTC 2009

Package: mc
Version: 2:4.7.0-pre1-1
Severity: important
Tags: patch
User: debian-bsd at lists.debian.org
Usertags: kfreebsd


the current version fails to build on GNU/kFreeBSD.

The cons.saver is linux specific, please use linux specific
install file or alternatively install it directly from debian/rules.

The 1st approach should be just this:

   mv debian/mc.install debian/mc.install.linux
   grep -v saver < debian/mc.install.linux > debian/mc.install

The 2nd similar to

         cp ./debian/extra/icon.xpm ./debian/mc/usr/share/pixmaps/mc.xpm
ifeq ($(DEB_HOST_ARCH_OS),linux)
 	mkdir -p debian/mc/usr/lib/mc/mc/
 	cp debian/tmp/usr/lib/mc/mc/cons.saver debian/mc/usr/lib/mc/mc/

with cons.saver dropped from debian/mc.install

Thanks in advance


More information about the Pkg-mc-devel mailing list