On Wed, 2005-06-15 at 16:19 +0200, Aurelien Jarno wrote:
> If you have a package that depends on libselinux1-dev or if you intend
> to upload such a package, please find below the correct way(tm) to add
> SElinux support:
>
> * debian/control or debian/control.in (or even debian.control.in.in)
> Change
> libselinux1-dev
> into
libselinux1-dev [ !hurd-i386 !kfreebsd-i386 ]
>
The next version of dpkg-dev supports the following syntax:
libselinux1-dev [ linux-any ]
> * debian/rules
> Add the following lines:
> DEB_HOST_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
> ifeq ($(DEB_HOST_GNU_SYSTEM),linux)
> selinux := --with-selinux
> endif
>
This is utterly incorrect ... Use:
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifeq ($(DEB_HOST_ARCH_OS),linux)
selinux := --with-selinux
endif
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
Attachment:
signature.asc
Description: This is a digitally signed message part