[Build-common-hackers] Bug#741084: Bug#741084: cdbs: Include autotools configure --exec-prefix variable
dr at jones.dk
Sat Mar 8 14:12:04 UTC 2014
Quoting Santiago Ruano Rincón (2014-03-08 11:49:37)
> I've just moved grep packaging (version 2.18-1) to cdbs. One of the
> manual settings I had to do is to configure the prefix of
> architecture-dependent files (grep installs its binaries in /bin/).
> Since I didn't find a specific cdbs autotools variable for this, I'm
> DEB_CONFIGURE_EXTRA_FLAGS += --exec-prefix=/
> The attached patch adds DEB_CONFIGURE_EXECDIR to autotools-vars.mk
Thanks for the proposed patch!
I wonder, however, if it is perhaps best to leave it as-is.
Goal of CDBS is to be flexible enough to not get in the way of unusual
settings, but it is not the goal to provide a specific CDBS variable to
express any and all need.
Seems to me that your current use of DEB_CONFIGURE_EXTRA_FLAGS is a good
Do you foresee that it might be an unreliable approach that future
changes to CDBS or other packages might break, or do you imagine this
particular setting to be more commonly useful for others, or why do you
propse the patch?
> PS. I admit that I used to dislike cdbs, but now I think it's useful.
> Thanks a lot for you work!
Yes, I noticed your switch to CDBS when the package entered Sid, and
appreciate both your switch and your elaboration of that decision in
changelog - as inspiration for others that CDBS is not obsolete ;-)
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 966 bytes
More information about the Build-common-hackers