Re: Architecture field based on another package Architecture field
Ghislain Vaillant <ghisvail@gmail.com> writes:
> Architecture: ${libfftw3-long3:Architecture}
Alas, this won't work -- that information isn't available here, and I
don't think substitutions work in the Architecture field anyway.
However, debian/rules can conditionally invoke dh with a suitable -N
flag. I believe it should work to specify
ifeq "" "$(wildcard $(libdir)/libfftw3l.so)"
SKIP_NFFTL = -Nlibnfft3-long2
endif
%:
dh $@ --parallel --with autoreconf \
--dbg-package=libnfft3-dbg $(SKIP_NFFTL)
and then conditionalize other commands involving the nfftl tree on
ifneq "" "$(SKIP_NFTL)"
I am testing these changes now (against a checkout of your experimental
branch) and will follow up with a full patch if they work.
Good question!
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
Reply to: