I'm Cc-ing -bsd@, I believe Petr might look into providing a patch since
he solved a bunch of such breakages.

Please just use libusb instead of native usb support on GNU/kFreeBSD.

debian/control:
Add into Build-Depends: libusb2-dev [kfreebsd-i386 kfreebsd-amd64]

In debian/rules use:

ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
DEB_CONFIGURE_EXTRA_FLAGS = --enable-pcsc --enable-usb
else
DEB_CONFIGURE_EXTRA_FLAGS = --enable-pcsc
endif


After that the binary builds fine, the whole build fails for me later in

Making install in doc
make[2]: Entering directory `/build/manual/openct-0.6.19/doc'
make[3]: Entering directory `/build/manual/openct-0.6.19/doc'
make[3]: stat: api.out/html/*: Too many levels of symbolic links
make[3]: stat: /build/manual/openct-0.6.19/doc/api.out: Too many levels of symbolic links
ln -s "./api.out" api.out
ln: accessing `api.out': Too many levels of symbolic links
make[3]: *** [/build/manual/openct-0.6.19/doc/api.out] Error 1

The rules for api.out are different after checkout from SVN and otherwise. This part should not be GNU/kFreeBSD specific problem.

Petr




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to