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

Conditionally applying an architecture-dependent patch



When using CDBS, what is the best way to conditionally apply an
architecture-dependent patch. I'm using CDBS, but not yet using a
patch system such as simple-patchsys, dpatch, or quilt, so
recommendations of a patch system are welcome. Currently I have...

ARCH64 := alpha amd64 ia64

ifneq (,$(filter $(DEB_HOST_ARCH),$(ARCH64)))
configure/foo::
	patch -p1 <debian/patches/arch64.diff
endif

Cheers,
Shaun



Reply to: