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

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



Hello Alec,
  procps also has this sort of problem, or perhaps this collection of interesting puzzles (depending on my mood) so I have been here before.


On Tue, Nov 8, 2016 at 11:57 PM Alec Leamas <leamas.alec@gmail.com> wrote:
   - How can I handle that kfreebsd should install a different set of files?
Have lirc.install file for most arches and lirc.install.kfreebsd for that platform.
 
   - Is it possible to conditionalize the rules file w r t platform?
   - If so, how?
I got things like this in my rules file:
 
DEB_HOST_ARCH_OS        ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifeq ($(DEB_HOST_ARCH_OS),linux)
LINUX_CONFIGURE_EXTRA_FLAGS = --with-systemd --enable-libselinux
endif

I also use dh-exec for some of my library install lines to get them into the right directory.

 - Craig


Reply to: