[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build a sort-of-systemd-dependent package on kfreebsd



Hi Alec [answering on debian-mentors]

On 08.11.2016 13:39, Alec Leamas wrote:
> In particular:
>   - How can I handle that kfreebsd should install a different set of
files?

Never done that, but I guess use dh-exec filtering in the
debian/*.install files.

>   - Is it possible to conditionalize the rules file w r t platform?
>   - If so, how?

debian/rules:
ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd)
...
endif


debian/control (don't depend on package foo on kfreebsd-i386 and
kfreebsd-amd64):
foo [!kfreebsd-any]

Greets
jre


Reply to: